mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 711263 - Fix potential race condition when saving add-on reconciler state; r=philikon
a=philikon for landing on s-c after train departure because it seems to fix an xpcshell orange.
This commit is contained in:
parent
86df361578
commit
f99eba4f25
@ -633,7 +633,9 @@ AddonsReconciler.prototype = {
|
||||
}
|
||||
}
|
||||
|
||||
this.saveState(null, null);
|
||||
let cb = Async.makeSpinningCallback();
|
||||
this.saveState(null, cb);
|
||||
cb.wait();
|
||||
}
|
||||
catch (ex) {
|
||||
this._log.warn("Exception: " + Utils.exceptionStr(ex));
|
||||
|
Loading…
Reference in New Issue
Block a user