mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
012380b6dc
commit
9168467019
@ -633,7 +633,9 @@ AddonsReconciler.prototype = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.saveState(null, null);
|
let cb = Async.makeSpinningCallback();
|
||||||
|
this.saveState(null, cb);
|
||||||
|
cb.wait();
|
||||||
}
|
}
|
||||||
catch (ex) {
|
catch (ex) {
|
||||||
this._log.warn("Exception: " + Utils.exceptionStr(ex));
|
this._log.warn("Exception: " + Utils.exceptionStr(ex));
|
||||||
|
Loading…
Reference in New Issue
Block a user