summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpeople.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:39:16 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-20 21:39:16 +0000
commitf62821fadd50333c367dc5c8de2929273842f9b0 (patch)
treedf81510047aad699cc97a41c1d86340c7333669b /indra/newview/llpanelpeople.cpp
parent64530c24c85b0c3f177c07ee5342d08b8822adc6 (diff)
parenta8e9f7ab5010bd4f9d80fbd0002a16bcb802716c (diff)
conflict resolved.
Diffstat (limited to 'indra/newview/llpanelpeople.cpp')
-rw-r--r--indra/newview/llpanelpeople.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp
index 36fab86280..d2a518a06a 100644
--- a/indra/newview/llpanelpeople.cpp
+++ b/indra/newview/llpanelpeople.cpp
@@ -463,8 +463,10 @@ LLPanelPeople::~LLPanelPeople()
delete mFriendListUpdater;
delete mRecentListUpdater;
- if(LLVoiceClient::getInstance())
+ if(LLVoiceClient::instanceExists())
+ {
LLVoiceClient::getInstance()->removeObserver(this);
+ }
LLView::deleteViewByHandle(mGroupPlusMenuHandle);
LLView::deleteViewByHandle(mNearbyViewSortMenuHandle);