fix memory leak
This commit is contained in:
parent
a6c655df73
commit
cdd9675920
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue