summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2010-11-09 00:55:44 +0200
committerSeth ProductEngine <slitovchuk@productengine.com>2010-11-09 00:55:44 +0200
commit024e5ff23542cf0604b73901311bb4d024957b1c (patch)
tree34aa616b072231ee5442b07ea5661dae7234add5 /indra
parentc446062bd3bd3f172b20f22f2086cea962fb7278 (diff)
STORM-559 FIXED crash upon quitting the viewer while an outfit is being saved.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappearancemgr.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 62074ddcd5..4e0bfb2e22 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -2437,6 +2437,12 @@ public:
virtual ~LLShowCreatedOutfit()
{
+ if (!LLApp::isRunning())
+ {
+ llwarns << "called during shutdown, skipping" << llendl;
+ return;
+ }
+
LLSD key;
//EXT-7727. For new accounts LLShowCreatedOutfit is created during login process