mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 499601: A lot of 'leaked URLs' when Fennec is finished, r=mfinkle
This commit is contained in:
parent
361a014e36
commit
14568764ef
@ -156,6 +156,9 @@ CanvasBrowser.prototype = {
|
|||||||
|
|
||||||
this._contentDOMWindowUtils = null;
|
this._contentDOMWindowUtils = null;
|
||||||
|
|
||||||
|
if (!browser)
|
||||||
|
return;
|
||||||
|
|
||||||
browser.setAttribute("type", "content-primary");
|
browser.setAttribute("type", "content-primary");
|
||||||
if (!skipZoom)
|
if (!skipZoom)
|
||||||
browser.docShell.isOffScreenBrowser = true;
|
browser.docShell.isOffScreenBrowser = true;
|
||||||
|
@ -251,6 +251,8 @@ var Browser = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
shutdown: function() {
|
shutdown: function() {
|
||||||
|
this._canvasBrowser.setCurrentBrowser(null);
|
||||||
|
|
||||||
BrowserUI.uninit();
|
BrowserUI.uninit();
|
||||||
|
|
||||||
var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService);
|
var os = Cc["@mozilla.org/observer-service;1"].getService(Ci.nsIObserverService);
|
||||||
|
Loading…
Reference in New Issue
Block a user