fix race condition 2

pull/1/head
yflory 6 years ago
parent 62c96d562f
commit ae9caecc52

@ -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

Loading…
Cancel
Save