diff options
author | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2010-02-03 11:42:03 -0500 |
---|---|---|
committer | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2010-02-03 11:42:03 -0500 |
commit | 594b1ac679a502f92db477e3f09441e361f72c93 (patch) | |
tree | 3f2d6e96c8be6da814729a675219a3c96ecb90ef /indra/newview/llappearancemgr.cpp | |
parent | fc70ca5403acdd99b2235dbf4e513a4dd806c850 (diff) |
EXT-4868: Callback was getting triggered at shutdown, leading to crash. Now test isExiting() first.
-Reviewed by vir
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r-- | indra/newview/llappearancemgr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 5088c65122..fa1bfdb5ab 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -279,7 +279,10 @@ public: virtual ~LLUpdateAppearanceOnDestroy() { - LLAppearanceManager::instance().updateAppearanceFromCOF(); + if (!!LLApp::isExiting()) + { + LLAppearanceManager::instance().updateAppearanceFromCOF(); + } } /* virtual */ void fire(const LLUUID& inv_item) |