fix ts lib this binding
This commit is contained in:
parent
803ad02772
commit
64b0c461a2
@ -92,7 +92,7 @@ abstract class IPCCommon {
|
||||
protected processMsg(msg: Message): void {
|
||||
switch (msg.type) {
|
||||
case MsgType.Call:
|
||||
this.handleCall(msg).catch(this.errorQueue.put);
|
||||
this.handleCall(msg).catch((e) => this.errorQueue.put(e));
|
||||
break;
|
||||
case MsgType.Response:
|
||||
this.handleResponse(msg);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user