mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Fix occasional error when reader is closed immediately
This commit is contained in:
parent
2a31c1977e
commit
01db0bfe86
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ class ReaderInstance {
|
|||
this._prefObserverIDs.forEach(id => Zotero.Prefs.unregisterObserver(id));
|
||||
}
|
||||
this._flushState();
|
||||
if (this._blockingObserver) {
|
||||
if (this._blockingObserver && this._iframe) {
|
||||
this._blockingObserver.unregister(this._iframe);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue