diff --git a/chrome/content/zotero/recognizePDF.js b/chrome/content/zotero/recognizePDF.js index 34de850fbc..40af53eaf6 100644 --- a/chrome/content/zotero/recognizePDF.js +++ b/chrome/content/zotero/recognizePDF.js @@ -308,6 +308,7 @@ Zotero_RecognizePDF.Recognizer.prototype.recognize = function(file, callback, ca this._startLine = this._iteration = 0; + inputStream.close(); cacheFile.remove(false); this._queryGoogle(); }