Restore ZoteroPane.destroy() on close

Seems like a good thing to do, if only because it ensures we persist
changes
This commit is contained in:
Simon Kornblith 2015-07-09 18:05:08 -04:00
parent b931ca37d2
commit e92a54966c

View file

@ -144,6 +144,7 @@ const ZoteroStandalone = new function() {
* Called before standalone window is closed
*/
this.onUnload = function() {
ZoteroPane.destroy();
goQuitApplication();
}
}