File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -549,13 +549,19 @@ void LLWebRTCVoiceClient::voiceConnectionCoro()
549
549
updatePosition ();
550
550
}
551
551
}
552
-
553
- sessionState::processSessionStates ();
554
- if (mProcessChannels && voiceEnabled && !mHidden )
555
- {
556
- sendPositionUpdate (false );
557
- updateOwnVolume ();
558
- }
552
+ LL::WorkQueue::postMaybe (mMainQueue ,
553
+ [=] {
554
+ if (sShuttingDown )
555
+ {
556
+ return ;
557
+ }
558
+ sessionState::processSessionStates ();
559
+ if (mProcessChannels && voiceEnabled && !mHidden )
560
+ {
561
+ sendPositionUpdate (false );
562
+ updateOwnVolume ();
563
+ }
564
+ });
559
565
}
560
566
}
561
567
catch (const LLCoros::Stop&)
@@ -2221,6 +2227,7 @@ void LLVoiceWebRTCConnection::OnIceCandidate(const llwebrtc::LLWebRTCIceCandidat
2221
2227
void LLVoiceWebRTCConnection::processIceUpdates ()
2222
2228
{
2223
2229
mOutstandingRequests ++;
2230
+
2224
2231
LLCoros::getInstance ()->launch (" LLVoiceWebRTCConnection::processIceUpdatesCoro" ,
2225
2232
boost::bind (&LLVoiceWebRTCConnection::processIceUpdatesCoro, this ->shared_from_this ()));
2226
2233
}
You can’t perform that action at this time.
0 commit comments