Don't error if we can't delete the timer
This commit is contained in:
parent
deea80c495
commit
a19786116d
1 changed files with 3 additions and 1 deletions
|
@ -319,7 +319,9 @@ Zotero_TranslatorTester.prototype.fetchPageAndRunTest = function(test, testDoneC
|
|||
var timer = Components.classes["@mozilla.org/timer;1"].
|
||||
createInstance(Components.interfaces.nsITimer);
|
||||
timer.initWithCallback({"notify":function() {
|
||||
Zotero.Browser.deleteHiddenBrowser(hiddenBrowser);
|
||||
try {
|
||||
Zotero.Browser.deleteHiddenBrowser(hiddenBrowser);
|
||||
} catch(e) {}
|
||||
}}, TEST_RUN_TIMEOUT, Components.interfaces.nsITimer.TYPE_ONE_SHOT);
|
||||
|
||||
var me = this;
|
||||
|
|
Loading…
Add table
Reference in a new issue