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 {
|
protected processMsg(msg: Message): void {
|
||||||
switch (msg.type) {
|
switch (msg.type) {
|
||||||
case MsgType.Call:
|
case MsgType.Call:
|
||||||
this.handleCall(msg).catch(this.errorQueue.put);
|
this.handleCall(msg).catch((e) => this.errorQueue.put(e));
|
||||||
break;
|
break;
|
||||||
case MsgType.Response:
|
case MsgType.Response:
|
||||||
this.handleResponse(msg);
|
this.handleResponse(msg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user