Fix IPC pipe closing on Fx 3.6 (again)

This commit is contained in:
Simon Kornblith 2011-07-24 16:27:42 +00:00
parent 4a9aac8bcb
commit ff304bd7be

View file

@ -524,7 +524,7 @@ Zotero.IPC.Pipe.Poll = function(file, callback) {
// add shutdown listener
var me = this;
Zotero.addShutdownListener(function() { me._clearFile() });
Zotero.addShutdownListener(function() { file.remove(false) });
}
Zotero.IPC.Pipe.Poll._activePipes = [];
@ -543,13 +543,6 @@ Zotero.IPC.Pipe.Poll.prototype = {
this._callback(string);
},
/**
* Called on quit to remove the file
*/
"observe":function() {
this._file.remove();
},
/**
* Clears the old contents of the fifo file
*/