Fix IPC pipe closing on Fx 3.6 (again)
This commit is contained in:
parent
4a9aac8bcb
commit
ff304bd7be
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue