HomePhabricator
Diffusion Comm 69c181651591

[lib] Fix error when deleting a keyserver

Description

[lib] Fix error when deleting a keyserver

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.

Reviewers: tomek, kamil

Reviewed By: tomek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D11736

Details

Provenance
inkaAuthored on Apr 23 2024, 3:55 AM
Reviewer
tomek
Differential Revision
D11736: [lib] Fix error when deleting a keyserver
Parents
rCOMM029db6094f0f: Revert "[native] Temporary changes for staff release"
Branches
Unknown
Tags
Unknown