Fixed a shutdown crash.

meow-7.2.2
Steven Bennetts 2009-06-21 17:51:35 +00:00
parent ade6bbb06c
commit 33dbf11076
1 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,10 @@ LLBottomTray::LLBottomTray()
LLBottomTray::~LLBottomTray()
{
LLIMMgr::getInstance()->removeSessionObserver(this);
if (!LLSingleton<LLIMMgr>::destroyed())
{
LLIMMgr::getInstance()->removeSessionObserver(this);
}
}
LLLineEditor* LLBottomTray::getChatBox()