HowProgrammingWorks/NodejsStarterKit

Fix potential protocol fail pattern

Closed this issue · 0 comments

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))