File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ class Call {
554554 assert (_session != null , 'ERROR(hangup): rtc session is invalid!' );
555555 if (peerConnection != null ) {
556556 for (MediaStream ? stream in peerConnection! .getLocalStreams ()) {
557- if (stream == null ) return ;
557+ if (stream == null ) continue ;
558558 logger.d (
559559 'Stopping local stream with tracks: ${stream .getTracks ().length }' );
560560 for (MediaStreamTrack track in stream.getTracks ()) {
@@ -563,7 +563,7 @@ class Call {
563563 }
564564 }
565565 for (MediaStream ? stream in peerConnection! .getRemoteStreams ()) {
566- if (stream == null ) return ;
566+ if (stream == null ) continue ;
567567 logger.d (
568568 'Stopping remote stream with tracks: ${stream .getTracks ().length }' );
569569 for (MediaStreamTrack track in stream.getTracks ()) {
You can’t perform that action at this time.
0 commit comments