WebSockets: extend 57fdce8

This commit is contained in:
Luciano Iam 2020-04-22 11:35:23 +02:00 committed by Robin Gareus
parent c362605b49
commit 742adad310
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -58,7 +58,7 @@ class BaseArdourClient {
}
};
this._connect();
await this._connect();
}
disconnect () {
@ -93,7 +93,7 @@ class BaseArdourClient {
}
async _sendRecvSingle (node, addr, val) {
return await this._sendAndReceive (node, addr, val)[0];
return (await this._sendAndReceive (node, addr, val))[0];
}
_onChannelMessage (msg) {