fix memory leak

This commit is contained in:
Simon Kornblith 2011-05-25 19:47:00 +00:00
parent a6c655df73
commit cdd9675920

View file

@ -2186,6 +2186,7 @@ Zotero.Browser = new function() {
function deleteHiddenBrowser(myBrowser) {
myBrowser.stop();
myBrowser.destroy();
myBrowser.parentNode.removeChild(myBrowser);
myBrowser = null;
Zotero.debug("deleted hidden browser");