Page MenuHomePhabricator

[lib] Fix error when deleting a keyserver
ClosedPublic

Authored by inka on Apr 23 2024, 4:02 AM.
Tags
None
Referenced Files
F3341247: D11736.id39393.diff
Thu, Nov 21, 10:42 PM
F3338166: D11736.diff
Thu, Nov 21, 5:32 PM
Unknown Object (File)
Sun, Nov 3, 2:28 AM
Unknown Object (File)
Sun, Nov 3, 2:28 AM
Unknown Object (File)
Sun, Nov 3, 2:28 AM
Unknown Object (File)
Sun, Nov 3, 2:28 AM
Unknown Object (File)
Oct 14 2024, 8:20 PM
Unknown Object (File)
Oct 11 2024, 4:21 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
Branch
inka/may2
Lint
No Lint Coverage
Unit
No Test Coverage