Fix error on shutdown

This commit is contained in:
Abe Jellinek 2025-07-01 10:43:46 -04:00 • committed by Dan Stillman
parent eeb94aea48
commit 75a2c325ec

View file

@ -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