SL-20504 Chat history crashes on shutdown
parent
0abe8a87f3
commit
c4f3bc4e95
|
|
@ -579,6 +579,12 @@ void chatterBoxHistoryCoro(std::string url, LLUUID sessionId, std::string from,
|
|||
return;
|
||||
}
|
||||
|
||||
if (LLApp::isExiting() || gDisconnected)
|
||||
{
|
||||
LL_DEBUGS("ChatHistory") << "Ignoring chat history response, shutting down" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
// Add history to IM session
|
||||
LLSD history = result[LLCoreHttpUtil::HttpCoroutineAdapter::HTTP_RESULTS_CONTENT];
|
||||
|
||||
|
|
@ -3913,6 +3919,12 @@ public:
|
|||
const LLSD& context,
|
||||
const LLSD& input) const
|
||||
{
|
||||
if (LLApp::isExiting() || gDisconnected)
|
||||
{
|
||||
LL_DEBUGS("ChatHistory") << "Ignoring ChatterBox session, Shutting down" << LL_ENDL;
|
||||
return;
|
||||
}
|
||||
|
||||
LLSD body;
|
||||
LLUUID temp_session_id;
|
||||
LLUUID session_id;
|
||||
|
|
|
|||
Loading…
Reference in New Issue