Page MenuHomePhabricator

[lib] Fix error when deleting a keyserver
ClosedPublic

Authored by inka on Apr 23 2024, 4:02 AM.
Tags
None
Referenced Files
F1837919: D11736.id39397.diff
Fri, May 24, 1:24 AM
F1837918: D11736.id39393.diff
Fri, May 24, 1:24 AM
F1837872: D11736.id.diff
Fri, May 24, 1:23 AM
F1837861: D11736.diff
Fri, May 24, 1:23 AM
Unknown Object (File)
Mon, May 6, 5:01 PM
Unknown Object (File)
Mon, May 6, 3:22 PM
Unknown Object (File)
Mon, May 6, 2:33 PM
Unknown Object (File)
Wed, May 1, 3:23 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