summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAnsariel Hiller <Ansariel@users.noreply.github.com>2024-09-23 23:03:30 +0200
committerGitHub <noreply@github.com>2024-09-24 00:03:30 +0300
commit9a95e69bfc8a75b72d2e13d2d091297230d101ba (patch)
tree2849ec1d2b73b88f689c4eca3ae047425a6ac07c /indra
parentd8e52ec001c476a2320f2d5caceb813465d707e4 (diff)
Restore WebRTC shutdown fix (#2658)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvoicewebrtc.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/newview/llvoicewebrtc.cpp b/indra/newview/llvoicewebrtc.cpp
index 32803c6117..7161f5af5e 100644
--- a/indra/newview/llvoicewebrtc.cpp
+++ b/indra/newview/llvoicewebrtc.cpp
@@ -2769,17 +2769,6 @@ bool LLVoiceWebRTCConnection::connectionStateMachine()
{
mRetryWaitPeriod = 0;
mRetryWaitSecs = (F32)((F32)rand() / (F32)RAND_MAX) + 0.5f;
- LLUUID agentRegionID;
- if (isSpatial() && gAgent.getRegion())
- {
-
- bool primary = (mRegionID == gAgent.getRegion()->getRegionID());
- if (primary != mPrimary)
- {
- mPrimary = primary;
- sendJoin();
- }
- }
// we'll stay here as long as the session remains up.
if (mShutDown)