Feeds electron compatiblity
This commit is contained in:
parent
6ec6790265
commit
1a6683e7db
4 changed files with 7 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue