We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e42820 commit a19f338Copy full SHA for a19f338
lib/src/rtc_session.dart
@@ -1664,7 +1664,7 @@ class RTCSession extends EventManager {
1664
// Add 'pc.onicencandidate' event handler to resolve on last candidate.
1665
bool finished = false;
1666
Future<Null> Function() ready = () async {
1667
- if (!finished) {
+ if (!finished && _status != C.STATUS_TERMINATED) {
1668
finished = true;
1669
_connection.onIceCandidate = null;
1670
_connection.onIceGatheringState = null;
0 commit comments