From 0741bb396f1cd9f70fb9a62b8e2761a4e26bd5c7 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Mon, 3 Oct 2011 17:05:23 +0000 Subject: [PATCH] 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.) --- chrome/content/zotero/xpcom/ipc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js index e4900fa44..5ee8177c3 100755 --- 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);