summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2020-01-29 18:02:41 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2020-01-29 18:02:41 +0200
commita8437a7636c065ae06e53281db1be94dd4ae9e88 (patch)
tree0dbd2ebab2185bc93f0f31f9aafd5718ae77a0aa /indra/newview
parenta4cabf80d3c7a125a23dbab0fadec5c8c5ab8d97 (diff)
potential crashfix
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llimprocessing.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp
index d3537dc24e..c3375a3779 100644
--- a/indra/newview/llimprocessing.cpp
+++ b/indra/newview/llimprocessing.cpp
@@ -1569,6 +1569,12 @@ void LLIMProcessing::requestOfflineMessagesCoro(std::string url)
return;
}
+ if (gAgent.getRegion() == NULL)
+ {
+ LL_WARNS("Messaging") << "Region null while attempting to load messages." << LL_ENDL;
+ return;
+ }
+
LL_INFOS("Messaging") << "Processing offline messages." << LL_ENDL;
std::vector<U8> data;