mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1118974 - Toolbox fails to shut down when highlighter actor is gone. r=pbrosset
This commit is contained in:
parent
188dcbe1ea
commit
84b102a4c0
@ -1294,9 +1294,13 @@ MarkupView.prototype = {
|
||||
return this._destroyer;
|
||||
}
|
||||
|
||||
this._destroyer = promise.resolve();
|
||||
|
||||
// Note that if the toolbox is closed, this will work fine, but will fail
|
||||
// in case the browser is closed and will trigger a noSuchActor message.
|
||||
this._destroyer = this._hideBoxModel();
|
||||
// We ignore the promise that |_hideBoxModel| returns, since we should still
|
||||
// proceed with the rest of destruction if it fails.
|
||||
this._hideBoxModel();
|
||||
|
||||
this._elt.removeEventListener("click", this._onMouseClick, false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user