summaryrefslogtreecommitdiff
path: root/indra/newview/llagentwearables.cpp
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2010-02-03 11:42:03 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2010-02-03 11:42:03 -0500
commit594b1ac679a502f92db477e3f09441e361f72c93 (patch)
tree3f2d6e96c8be6da814729a675219a3c96ecb90ef /indra/newview/llagentwearables.cpp
parentfc70ca5403acdd99b2235dbf4e513a4dd806c850 (diff)
EXT-4868: Callback was getting triggered at shutdown, leading to crash. Now test isExiting() first.
-Reviewed by vir
Diffstat (limited to 'indra/newview/llagentwearables.cpp')
-rw-r--r--indra/newview/llagentwearables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp
index b0ff3a5626..3249d0b31f 100644
--- a/indra/newview/llagentwearables.cpp
+++ b/indra/newview/llagentwearables.cpp
@@ -2300,7 +2300,7 @@ public:
virtual ~LLLibraryOutfitsCopyDone()
{
- if (mLibraryOutfitsFetcher)
+ if (!!LLApp::isExiting() && mLibraryOutfitsFetcher)
{
gInventory.addObserver(mLibraryOutfitsFetcher);
mLibraryOutfitsFetcher->done();