Skip to content
Permalink
Browse files

fix test timeoutArgs

  • Loading branch information...
ry committed Mar 12, 2019
1 parent 68e2089 commit b02d7885407f0727c9860f637174f4013b783c89
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/dispatch.ts
@@ -79,7 +79,7 @@ export function sendSync(
const cmdId = sendInternal(builder, innerType, inner, data, true);
util.assert(cmdId >= 0);
let resBuf: Uint8Array | null = msgRing.rx.receive(Uint8Array);
if (resBuf == null) {
if (resBuf == null || resBuf.length === 0) {
return null;
} else {
const bb = new flatbuffers.ByteBuffer(resBuf);

0 comments on commit b02d788

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.