mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Fix deadlock in saveIdentity
Archive only sibling sessions so as not to block on the same device lock as the protocol lib. // FREEBIE
This commit is contained in:
@@ -468,8 +468,8 @@
|
||||
verified : verifiedStatus,
|
||||
nonblockingApproval : nonblockingApproval,
|
||||
}).then(function() {
|
||||
this.trigger('keychange', identifier);
|
||||
this.archiveAllSessions(identifier).then(function() {
|
||||
this.trigger('keychange', number);
|
||||
this.archiveSiblingSessions(identifier).then(function() {
|
||||
resolve(true);
|
||||
}, reject);
|
||||
}.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user