Feeds electron compatiblity

This commit is contained in:
Adomas Venčkauskas 2018-08-31 15:32:33 +03:00
parent 6ec6790265
commit 1a6683e7db
4 changed files with 7 additions and 4 deletions

View file

@ -197,7 +197,7 @@ Zotero.FeedReader.prototype.terminate = function(status) {
}
// Close feed connection
if (this._channel.isPending()) {
if (this._channel && this._channel.isPending()) {
this._channel.cancel(Components.results.NS_BINDING_ABORTED);
}
};