mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 898170 - Don't remove listeners after their message manager is gone (r=felipe)
This commit is contained in:
parent
ab16b8e689
commit
afd3a29cc3
@ -82,7 +82,6 @@
|
||||
|
||||
<destructor>
|
||||
<![CDATA[
|
||||
this.messageManager.removeMessageListener("DOMTitleChanged", this);
|
||||
this.webProgress._destroy();
|
||||
]]>
|
||||
</destructor>
|
||||
|
@ -53,10 +53,6 @@ RemoteWebProgress.prototype = {
|
||||
},
|
||||
|
||||
_destroy: function WP_Destroy() {
|
||||
this._browser.messageManager.removeMessageListener("Content:StateChange", this);
|
||||
this._browser.messageManager.removeMessageListener("Content:LocationChange", this);
|
||||
this._browser.messageManager.removeMessageListener("Content:SecurityChange", this);
|
||||
this._browser.messageManager.removeMessageListener("Content:StatusChange", this);
|
||||
this._browser = null;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user