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:
parent
e5e4eab9c5
commit
3206536d47
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue