IM: defensive fix to get rid of warnings about attempts to get speaker mgr for removed sessions
--HG-- branch : product-enginemeow-7.2.2
parent
c940d3d5b9
commit
01724523cf
|
|
@ -106,6 +106,8 @@ void LLIMFloater::onFocusReceived()
|
|||
// virtual
|
||||
void LLIMFloater::onClose(bool app_quitting)
|
||||
{
|
||||
if (!gIMMgr->hasSession(mSessionID)) return;
|
||||
|
||||
setTyping(false);
|
||||
gIMMgr->leaveSession(mSessionID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue