summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-14 18:05:24 +0200
committerDmitry Zaporozhan <dzaporozhan@productengine.com>2009-12-14 18:05:24 +0200
commit6f7b7ef32bb6258ccaf5d5df60a5ede2101ae5de (patch)
treea8e0754e3362fdb4d83eb981b780d73994e399fc /indra/newview
parenta137125afdfcf729b626a92d876a4c652c97c50c (diff)
Fixed critical bug EXT-3427 - Viewer chashes if select Moderator Options submenu in Voice controls quickly.
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llcallfloater.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp
index 785591e7e3..4f1164788d 100644
--- a/indra/newview/llcallfloater.cpp
+++ b/indra/newview/llcallfloater.cpp
@@ -280,6 +280,10 @@ void LLCallFloater::refreshPartisipantList()
void LLCallFloater::onCurrentChannelChanged(const LLUUID& /*session_id*/)
{
+ if(LLVoiceChannel::STATE_NO_CHANNEL_INFO == LLVoiceChannel::getCurrentVoiceChannel()->getState())
+ {
+ return;
+ }
// Forget speaker manager from the previous session to avoid using it after session was destroyed.
mSpeakerManager = NULL;
updateSession();