www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 190fe8ba05cc15ce8f92372696f797035a3b6c24
parent 2eb5430ed377c22d8cd83acf82f2336124a6940c
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun,  3 Feb 2013 02:46:09 -0500

Don't leak a hidden browser for every single imported text/HTML file

It is possible we have been doing this for a very long time.

(Only local imports were affected, not snapshot saving.)

Diffstat:
Mchrome/content/zotero/xpcom/attachments.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js @@ -1345,6 +1345,7 @@ Zotero.Attachments = new function(){ // Chain fulltext indexer inside the charset callback, // since it's asynchronous and a prerequisite Zotero.Fulltext.indexDocument(browser.contentDocument, itemID); + Zotero.Browser.deleteHiddenBrowser(browser); } // Since the callback can be called during an import process that uses