Commits

Anonymous committed 6e11ff8

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

Comments (0)

Files changed (1)

indra/newview/llnotificationmanager.cpp

 {
 	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;