Skip to content
Snippets Groups Projects
Commit 3a09e94c authored by Igor Borovkov's avatar Igor Borovkov
Browse files

got rid of exit crash and warning messages 'Trying to access deleted singleton'

--HG--
branch : product-engine
parent 5f30904d
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,8 @@ class LLAgentPicksInfo::LLAgentPicksObserver : public LLAvatarPropertiesObserver ...@@ -47,7 +47,8 @@ class LLAgentPicksInfo::LLAgentPicksObserver : public LLAvatarPropertiesObserver
~LLAgentPicksObserver() ~LLAgentPicksObserver()
{ {
LLAvatarPropertiesProcessor::getInstance()->removeObserver(gAgent.getID(), this); if (LLAvatarPropertiesProcessor::instanceExists())
LLAvatarPropertiesProcessor::getInstance()->removeObserver(gAgent.getID(), this);
} }
void sendAgentPicksRequest() void sendAgentPicksRequest()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment