summaryrefslogtreecommitdiff
path: root/indra/newview/llagentpicksinfo.cpp
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-11-04 16:13:07 -0800
committerRick Pasetto <rick@lindenlab.com>2009-11-04 16:13:07 -0800
commite1c5abce9309a89bd9993264bca8dadadf882c6f (patch)
tree81e1f91811b207abd4dfe4c82db31583d92df212 /indra/newview/llagentpicksinfo.cpp
parent33eac5dc0a1dfc0624dcfc75bec35155fbb9c917 (diff)
parent0bd2567bf5648808a95c7826581199bb371597cb (diff)
merge with remote repo
Diffstat (limited to 'indra/newview/llagentpicksinfo.cpp')
-rw-r--r--indra/newview/llagentpicksinfo.cpp3
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()