Preventing crash if shutting down while in login process.
This commit is contained in:
@@ -1569,6 +1569,7 @@ bool LLAppViewer::cleanup()
|
|||||||
end_messaging_system();
|
end_messaging_system();
|
||||||
llinfos << "Message system deleted." << llendflush;
|
llinfos << "Message system deleted." << llendflush;
|
||||||
|
|
||||||
|
LLUserAuth::getInstance()->reset(); //reset before LLCurl::cleanupClass, else LLCURL::sHandleMutex == NULL
|
||||||
// *NOTE:Mani - The following call is not thread safe.
|
// *NOTE:Mani - The following call is not thread safe.
|
||||||
LLCurl::cleanupClass();
|
LLCurl::cleanupClass();
|
||||||
llinfos << "LLCurl cleaned up." << llendflush;
|
llinfos << "LLCurl cleaned up." << llendflush;
|
||||||
|
|||||||
Reference in New Issue
Block a user