don't compare result with undefined seq
This commit is contained in:
parent
4508e3103d
commit
1b91bb4564
|
@ -940,7 +940,7 @@ function handle_rpc_json(transport, scheduled_call) {
|
|||
|
||||
const seq = reply['seq'];
|
||||
|
||||
if (get_seq() != seq) {
|
||||
if (seq && get_seq() != seq) {
|
||||
console.log("[handle_rpc_json] sequence mismatch: " + seq +
|
||||
" (want: " + get_seq() + ")");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue