From 6f7b7ef32bb6258ccaf5d5df60a5ede2101ae5de Mon Sep 17 00:00:00 2001 From: Dmitry Zaporozhan Date: Mon, 14 Dec 2009 18:05:24 +0200 Subject: Fixed critical bug EXT-3427 - Viewer chashes if select Moderator Options submenu in Voice controls quickly. --HG-- branch : product-engine --- indra/newview/llcallfloater.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview') 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(); -- cgit v1.2.3