-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REFACTOR] Use common path for updating map/data store on remove
Previously, the expire path, the remove path, and the onDisconnect all used separate logic for updating the map, signaling listeners, and removing PersistablePaylod objects from the data store. This led to a bug where the onDisconnect path did not update the protectedDataStore. Combine the three code paths to ensure that the same state is updated regardless of the context.
- Loading branch information
1 parent
b10a603
commit 9ffbcf7
Showing
1 changed file
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters