Skip to content

Commit ab09f26

Browse files
committed
QBWEBSDK-257
1 parent ff080a0 commit ab09f26

File tree

3 files changed

+35
-28
lines changed

3 files changed

+35
-28
lines changed

js/modules/webrtc/qbWebRTCSession.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,11 @@ WebRTCSession.prototype._close = function() {
662662

663663
for (var key in this.peerConnections) {
664664
var peer = this.peerConnections[key];
665-
peer.release();
665+
try {
666+
peer.release();
667+
} catch (e) {
668+
console.warn('Session _close', e);
669+
}
666670
}
667671

668672
this._closeLocalMediaStream();

0 commit comments

Comments
 (0)