mirror of
https://github.com/zotero/zotero.git
synced 2026-09-28 01:31:40 +00:00
Fix error on shutdown
This commit is contained in:
parent
eeb94aea48
commit
75a2c325ec
1 changed files with 1 additions and 1 deletions
|
|
@ -385,7 +385,7 @@ const { CommandLineOptions } = ChromeUtils.importESModule("chrome://zotero/conte
|
|||
}, "quit-application-granted", false);
|
||||
|
||||
// Register shutdown handler to call Zotero.shutdown()
|
||||
var _shutdownObserver = {observe:function () { Zotero.shutdown().done() }};
|
||||
var _shutdownObserver = {observe:function () { Zotero.shutdown() }};
|
||||
Services.obs.addObserver(_shutdownObserver, "quit-application", false);
|
||||
|
||||
// Get startup errors
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue