diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-05-18 13:10:26 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2015-05-18 13:10:26 -0400 |
commit | e2544fabe5f63201ca11102aa9b4266cb62211bd (patch) | |
tree | d7bf8c8dcbfdafe4607fe0415803943e8adbf0c1 /indra | |
parent | 618e10e82106779d81e63a248ce7c168a4baaea3 (diff) |
MAINT-5222 WIP - checks for app shutting down a couple of places.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llappearancemgr.cpp | 5 | ||||
-rwxr-xr-x | indra/newview/llattachmentsmgr.cpp | 5 |
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(); |