mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1251113 - Change PushService state to PUSH_SERVICE_UNINIT in the state change process queue. r=dragana
This commit is contained in:
parent
20766586bc
commit
5ac3fa26d6
@ -598,14 +598,15 @@ this.PushService = {
|
||||
return;
|
||||
}
|
||||
|
||||
this._setState(PUSH_SERVICE_UNINIT);
|
||||
|
||||
prefs.ignore("serverURL", this);
|
||||
Services.obs.removeObserver(this, "xpcom-shutdown");
|
||||
|
||||
this._stateChangeProcessEnqueue(_ =>
|
||||
this._changeServerURL("", UNINIT_EVENT));
|
||||
console.debug("uninit: shutdown complete!");
|
||||
{
|
||||
this._changeServerURL("", UNINIT_EVENT);
|
||||
this._setState(PUSH_SERVICE_UNINIT);
|
||||
console.debug("uninit: shutdown complete!");
|
||||
});
|
||||
},
|
||||
|
||||
/** |delay| should be in milliseconds. */
|
||||
|
Loading…
Reference in New Issue
Block a user