fix import of non-RDF files, broken by last commit
This commit is contained in:
parent
402fa961ef
commit
03be861eff
|
@ -400,9 +400,11 @@ Zotero.Translate.IO.Read.prototype = {
|
||||||
var myIndex = Zotero.Translate.IO.maintainedInstances.indexOf(this);
|
var myIndex = Zotero.Translate.IO.maintainedInstances.indexOf(this);
|
||||||
if(myIndex !== -1) Zotero.Translate.IO.maintainedInstances.splice(myIndex, 1);
|
if(myIndex !== -1) Zotero.Translate.IO.maintainedInstances.splice(myIndex, 1);
|
||||||
|
|
||||||
|
if(this._rawStream) {
|
||||||
this._rawStream.close();
|
this._rawStream.close();
|
||||||
delete this._rawStream;
|
delete this._rawStream;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Zotero.Translate.IO.Read.prototype.__defineGetter__("contentLength",
|
Zotero.Translate.IO.Read.prototype.__defineGetter__("contentLength",
|
||||||
function() {
|
function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user