提交 94168c9c authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Ensure PeerConnection is fully closed when the Peer is closed.

上级 93e55097
......@@ -66,6 +66,7 @@ class RTCPeerConnectionCommon extends EventEmitter
// Handle peer 'close' event.
this._peer.on('close', (error) =>
{
this.close();
this.emit('close', error);
});
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论