Crashfix: Stop notifications when we're about to exit.

Nicky 2012-07-13 14:04:45 +02:00
parent 9b856a124a
commit c0e8656477
1 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,13 @@ bool LLNotificationManager::onNotification(const LLSD& notify)
{
LLSysHandler* handle = NULL;
// Don't bother if we're going down.
// Otherwise we might crash when trying to use handlers that are already dead.
if( LLApp::isExiting() )
{
return false;
}
if (LLNotifications::destroyed())
return false;