summaryrefslogtreecommitdiff
path: root/indra/llwebrtc
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r--indra/llwebrtc/llwebrtc.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp
index 283b94dd3c..34d950b804 100644
--- a/indra/llwebrtc/llwebrtc.cpp
+++ b/indra/llwebrtc/llwebrtc.cpp
@@ -1135,14 +1135,6 @@ void LLWebRTCPeerConnectionImpl::OnStateChange()
break;
case webrtc::DataChannelInterface::kClosed:
RTC_LOG(LS_INFO) << __FUNCTION__ << " Data Channel State closed";
- // if the data channel is up, we need to shut it down, holding off
- // on termination of the peer connection until it's been closed.
- if (mClosing)
- {
- // a close was requested, and the data channel has closed,
- // so go ahead and call shutdownConnection again to clean up.
- shutdownConnection();
- }
break;
default:
break;