diff options
author | Roxie Linden <roxie@lindenlab.com> | 2024-03-20 11:15:12 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2024-03-20 11:15:12 -0700 |
commit | 4b709e7944ad34bf82c63b8ee57661598bc2292f (patch) | |
tree | cc5011a4555ae33aa320be7b9aadfb752be81548 /indra/llwebrtc | |
parent | 0e2fc4d35ea1fdef0028a5132602985da2e1c463 (diff) |
Turn procesIceUpdates into a coroutine to chop up the work a bit.
Diffstat (limited to 'indra/llwebrtc')
-rw-r--r-- | indra/llwebrtc/llwebrtc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llwebrtc/llwebrtc.cpp b/indra/llwebrtc/llwebrtc.cpp index 34d950b804..1f129cf514 100644 --- a/indra/llwebrtc/llwebrtc.cpp +++ b/indra/llwebrtc/llwebrtc.cpp @@ -589,6 +589,9 @@ void LLWebRTCPeerConnectionImpl::terminate() rtc::scoped_refptr<webrtc::MediaStreamInterface> localStream; mLocalStream.swap(localStream); + mSignalingObserverList.clear(); + mDataObserverList.clear(); + mWebRTCImpl->PostSignalingTask( [=]() { |