summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2015-05-18 13:10:26 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2015-05-18 13:10:26 -0400
commite2544fabe5f63201ca11102aa9b4266cb62211bd (patch)
treed7bf8c8dcbfdafe4607fe0415803943e8adbf0c1 /indra
parent618e10e82106779d81e63a248ce7c168a4baaea3 (diff)
MAINT-5222 WIP - checks for app shutting down a couple of places.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llappearancemgr.cpp5
-rwxr-xr-xindra/newview/llattachmentsmgr.cpp5
2 files changed, 9 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index dabb3df7af..c13edb9915 100755
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -528,7 +528,10 @@ LLUpdateAppearanceAndEditWearableOnDestroy::LLUpdateAppearanceAndEditWearableOnD
LLRequestServerAppearanceUpdateOnDestroy::~LLRequestServerAppearanceUpdateOnDestroy()
{
LL_DEBUGS("Avatar") << "ATT requesting server appearance update" << LL_ENDL;
- LLAppearanceMgr::instance().requestServerAppearanceUpdate();
+ if (!LLApp::isExiting())
+ {
+ LLAppearanceMgr::instance().requestServerAppearanceUpdate();
+ }
}
void edit_wearable_and_customize_avatar(LLUUID item_id)
diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp
index 799a25ddc9..2a137cc39b 100755
--- a/indra/newview/llattachmentsmgr.cpp
+++ b/indra/newview/llattachmentsmgr.cpp
@@ -99,6 +99,11 @@ void LLAttachmentsMgr::onIdle()
return;
}
+ if (LLApp::isExiting())
+ {
+ return;
+ }
+
requestPendingAttachments();
linkRecentlyArrivedAttachments();