Fix potential protocol fail pattern
tshemsedinov opened this issue · 0 comments
tshemsedinov commented
If callId is not registered in this.calls
, following code const [resolve, reject] = this.calls.get(callId);
will fail with error: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))