commit 0741bb396f1cd9f70fb9a62b8e2761a4e26bd5c7
parent a259a6b8cd8cecc74cc4ce5ee697a47e21bafb31
Author: Simon Kornblith <simon@simonster.com>
Date: Mon, 3 Oct 2011 17:05:23 +0000
Don't attempt to close pipe if we aren't reading from it yet because we haven't yet processed events on the main thread. (Fallout from processNextEvent() removal.)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js
@@ -416,7 +416,7 @@ Zotero.IPC.Pipe = new function() {
// Keep trying to write to pipe until we succeed, in case pipe is not yet open
Zotero.debug("IPC: Closing pipe "+file.path);
- Zotero.IPC.safePipeWrite(file, "Zotero shutdown\n", true);
+ Zotero.IPC.safePipeWrite(file, "Zotero shutdown\n");
// Delete pipe
file.remove(false);