diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2009-11-03 13:15:15 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2009-11-03 13:15:15 +0200 |
commit | 01724523cffec8b01ae873ed46cd05ec27a26379 (patch) | |
tree | c83d70db82e1bfd9cf6f8fae4d372168b429d72f | |
parent | c940d3d5b92ba915a51e98c9141243ccd6b5145b (diff) |
IM: defensive fix to get rid of warnings about attempts to get speaker mgr for removed sessions
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llimfloater.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index dee86f4a22..7bad949921 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -106,6 +106,8 @@ void LLIMFloater::onFocusReceived() // virtual void LLIMFloater::onClose(bool app_quitting) { + if (!gIMMgr->hasSession(mSessionID)) return; + setTyping(false); gIMMgr->leaveSession(mSessionID); } |