commit d104e4b10613b203b5778d0bd437d630bd59e01e
parent 15a0a33ac1b0f5d0b7e490cbe20a81d5dfe98dd8
Author: Simon Kornblith <simon@simonster.com>
Date: Wed, 1 Jul 2015 20:00:47 -0400
More debugging for #783
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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;
}