diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js index 6d74366d5..bf5ae1d51 100755 --- a/chrome/content/zotero/xpcom/ipc.js +++ b/chrome/content/zotero/xpcom/ipc.js @@ -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 */