fix race condition 2
This commit is contained in:
@@ -1643,6 +1643,9 @@ define([
|
||||
state: 2
|
||||
});
|
||||
userObject.migrate(waitFor());
|
||||
}).nThen(function (waitFor) {
|
||||
Store.initAnonRpc(null, null, waitFor());
|
||||
Store.initRpc(null, null, waitFor());
|
||||
}).nThen(function (waitFor) {
|
||||
loadMailbox(waitFor);
|
||||
Migrate(proxy, waitFor(), function (version, progress) {
|
||||
@@ -1651,8 +1654,6 @@ define([
|
||||
progress: progress
|
||||
});
|
||||
});
|
||||
Store.initAnonRpc(null, null, waitFor());
|
||||
Store.initRpc(null, null, waitFor());
|
||||
}).nThen(function (waitFor) {
|
||||
postMessage(clientId, 'LOADING_DRIVE', {
|
||||
state: 3
|
||||
|
||||
Reference in New Issue
Block a user