don't leak browsers from connector

This commit is contained in:
Simon Kornblith 2011-01-11 05:02:40 +00:00
parent 18aa61918d
commit fed87c5441

View file

@ -712,7 +712,7 @@ Zotero.Connector.Translate.Save.prototype = {
translate.setHandler("done", function(obj, item) {
win.Zotero_Browser.finishScraping(obj, item, collection);
me._translate.cookieManager.destroy();
Zotero.Browser.deleteHiddenBrowser(this._browser);
Zotero.Browser.deleteHiddenBrowser(me._browser);
me.sendResponse(201);
});