From d104e4b10613b203b5778d0bd437d630bd59e01e Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Wed, 1 Jul 2015 20:00:47 -0400 Subject: [PATCH] More debugging for #783 --- chrome/content/zotero/xpcom/ipc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/content/zotero/xpcom/ipc.js b/chrome/content/zotero/xpcom/ipc.js index 23fe6a458..bcb10f11f 100755 --- a/chrome/content/zotero/xpcom/ipc.js +++ b/chrome/content/zotero/xpcom/ipc.js @@ -256,7 +256,9 @@ Zotero.IPC = new function() { // make sure instance pipe is open and accepting input, so that we can receive // a response to whatever we're sending if(!instancePipeOpen && _instancePipe.exists()) { + var time = Date.now(); Zotero.IPC.safePipeWrite(_instancePipe, "test\n", true); + Zotero.debug("IPC: Pipe took "+(Date.now() - time)+" ms to receive a cross-thread write"); instancePipeOpen = true; }