Page MenuHomePhabricator

[lib] Fix error when deleting a keyserver
ClosedPublic

Authored by inka on Tue, Apr 23, 4:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 3:23 PM
Unknown Object (File)
Sun, Apr 28, 10:18 PM
Unknown Object (File)
Sun, Apr 28, 8:38 PM
Unknown Object (File)
Fri, Apr 26, 5:06 PM
Unknown Object (File)
Tue, Apr 23, 7:20 PM
Unknown Object (File)
Tue, Apr 23, 7:20 PM
Unknown Object (File)
Tue, Apr 23, 7:19 PM
Unknown Object (File)
Tue, Apr 23, 7:17 PM
Subscribers

Details

Summary

issue: ENG-7174
Deleting a keyserver would result in the app crashing, because updateConnectionStatusActionType would be dispatched for the removed keyserver.
We should just ignore this action. This happens because of unfortunate ordering - the keyserver is removed, and before the socket is unmounted the action gets dispatched

Test Plan

Tested that after this the app no longer crashes after removing a keyserver from the keyserver list.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable