More debugging for #783
This commit is contained in:
parent
15a0a33ac1
commit
d104e4b106
|
@ -256,7 +256,9 @@ Zotero.IPC = new function() {
|
||||||
// make sure instance pipe is open and accepting input, so that we can receive
|
// make sure instance pipe is open and accepting input, so that we can receive
|
||||||
// a response to whatever we're sending
|
// a response to whatever we're sending
|
||||||
if(!instancePipeOpen && _instancePipe.exists()) {
|
if(!instancePipeOpen && _instancePipe.exists()) {
|
||||||
|
var time = Date.now();
|
||||||
Zotero.IPC.safePipeWrite(_instancePipe, "test\n", true);
|
Zotero.IPC.safePipeWrite(_instancePipe, "test\n", true);
|
||||||
|
Zotero.debug("IPC: Pipe took "+(Date.now() - time)+" ms to receive a cross-thread write");
|
||||||
instancePipeOpen = true;
|
instancePipeOpen = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user