diff options
author | Igor Borovkov <iborovkov@productengine.com> | 2009-11-03 12:57:21 +0200 |
---|---|---|
committer | Igor Borovkov <iborovkov@productengine.com> | 2009-11-03 12:57:21 +0200 |
commit | 3a09e94c7cc23279a4e5353baf81b3ba2dc3e6f4 (patch) | |
tree | 563c97738f4f4aff8ed81ce7c1569d7311d96119 /indra/newview | |
parent | 5f30904db45c8cd3eec5506503128eaf3df4e429 (diff) |
got rid of exit crash and warning messages 'Trying to access deleted singleton'
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llagentpicksinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llagentpicksinfo.cpp b/indra/newview/llagentpicksinfo.cpp index 6e5835bace..3c8d0dac42 100644 --- a/indra/newview/llagentpicksinfo.cpp +++ b/indra/newview/llagentpicksinfo.cpp @@ -47,7 +47,8 @@ public: ~LLAgentPicksObserver() { - LLAvatarPropertiesProcessor::getInstance()->removeObserver(gAgent.getID(), this); + if (LLAvatarPropertiesProcessor::instanceExists()) + LLAvatarPropertiesProcessor::getInstance()->removeObserver(gAgent.getID(), this); } void sendAgentPicksRequest() |