mirror of
https://github.com/zotero/zotero.git
synced 2026-09-27 01:21:27 +00:00
Preferences: Fix sandbox destructor
This commit is contained in:
parent
519c4cb518
commit
52b4fc0b9d
1 changed files with 3 additions and 3 deletions
|
|
@ -95,9 +95,9 @@ var Zotero_Preferences = {
|
|||
let event = new Event('unload');
|
||||
child.dispatchEvent(event);
|
||||
}
|
||||
if (pane.sandbox) {
|
||||
Cu.nukeSandbox(pane.sandbox);
|
||||
pane.sandbox = null;
|
||||
if (pane.scope) {
|
||||
Cu.nukeSandbox(pane.scope);
|
||||
pane.scope = null;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue