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
Add a link
Reference in a new issue