www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ff304bd7be696d92be8d53b31d833b920c40d5d5
parent 4a9aac8bcb91c17d4f36594d2286df8358fde975
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 24 Jul 2011 16:27:42 +0000

Fix IPC pipe closing on Fx 3.6 (again)


Diffstat:
Mchrome/content/zotero/xpcom/ipc.js | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git 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 = []; @@ -544,13 +544,6 @@ Zotero.IPC.Pipe.Poll.prototype = { }, /** - * Called on quit to remove the file - */ - "observe":function() { - this._file.remove(); - }, - - /** * Clears the old contents of the fifo file */ "_clearFile":function() {