From cdd967592086c0d368a702a7aab1855f2d496a1b Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 25 May 2011 19:47:00 +0000 Subject: [PATCH] fix memory leak --- chrome/content/zotero/xpcom/zotero.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 338a2b533..161cd1b50 100644 --- a/chrome/content/zotero/xpcom/zotero.js +++ b/chrome/content/zotero/xpcom/zotero.js @@ -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");