diff --git a/src/rpc/signaling-exchange.ts b/src/rpc/signaling-exchange.ts index bdee03de8..533807af2 100644 --- a/src/rpc/signaling-exchange.ts +++ b/src/rpc/signaling-exchange.ts @@ -70,8 +70,9 @@ export class SignalingExchange { * should be done nor should any errors be emitted. */ this.clientChannel.ready - .then(() => { + .then(async () => { this.exchangeDone = true; + await this.sendDone(); }) .catch(console.error); // eslint-disable-line no-console