From 4b709e7944ad34bf82c63b8ee57661598bc2292f Mon Sep 17 00:00:00 2001 From: Roxie Linden Date: Wed, 20 Mar 2024 11:15:12 -0700 Subject: Turn procesIceUpdates into a coroutine to chop up the work a bit. --- indra/llwebrtc/llwebrtc.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'indra/llwebrtc') 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 localStream; mLocalStream.swap(localStream); + mSignalingObserverList.clear(); + mDataObserverList.clear(); + mWebRTCImpl->PostSignalingTask( [=]() { -- cgit v1.2.3