Fixed a shutdown crash.
parent
ade6bbb06c
commit
33dbf11076
|
|
@ -59,7 +59,10 @@ LLBottomTray::LLBottomTray()
|
|||
|
||||
LLBottomTray::~LLBottomTray()
|
||||
{
|
||||
LLIMMgr::getInstance()->removeSessionObserver(this);
|
||||
if (!LLSingleton<LLIMMgr>::destroyed())
|
||||
{
|
||||
LLIMMgr::getInstance()->removeSessionObserver(this);
|
||||
}
|
||||
}
|
||||
|
||||
LLLineEditor* LLBottomTray::getChatBox()
|
||||
|
|
|
|||
Loading…
Reference in New Issue