diff options
author | Ansariel Hiller <Ansariel@users.noreply.github.com> | 2024-09-23 23:03:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 00:03:30 +0300 |
commit | 9a95e69bfc8a75b72d2e13d2d091297230d101ba (patch) | |
tree | 2849ec1d2b73b88f689c4eca3ae047425a6ac07c /indra | |
parent | d8e52ec001c476a2320f2d5caceb813465d707e4 (diff) |
Restore WebRTC shutdown fix (#2658)
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llvoicewebrtc.cpp | 11 |
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) |