Fix error on shutdown

This commit is contained in:
Abe Jellinek 2025-07-01 10:43:46 -04:00
parent 0b74db5d8c
commit 97b5520150

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