CHUI-953 FIXED Close conversation floater when quitting viewer

Mnikolenko ProductEngine 2013-04-30 16:09:52 +03:00
parent 503605641a
commit 8431da8de0
1 changed files with 1 additions and 1 deletions

View File

@ -2086,7 +2086,7 @@ void LLFloaterIMContainer::closeFloater(bool app_quitting/* = false*/)
// Check for currently active session
LLUUID session_id = getSelectedSession();
// If current session is Nearby Chat or there is only one session remaining, close the floater
if (mConversationsItems.size() == 1 || session_id == LLUUID())
if (mConversationsItems.size() == 1 || session_id == LLUUID() || app_quitting)
{
onClickCloseBtn();
}