diff options
author | Roxie Linden <roxie@lindenlab.com> | 2010-04-01 21:07:49 -0700 |
---|---|---|
committer | Roxie Linden <roxie@lindenlab.com> | 2010-04-01 21:07:49 -0700 |
commit | 947bd994885ec59c138a2e3835b940a22ebaea1e (patch) | |
tree | cfdac833258a789a71bd466a441f06053cff9d50 /indra/newview/llcallfloater.cpp | |
parent | 19be852fd63f9ae9eef1ff9aa864bd25d0d200bc (diff) |
Incorporate Aimees code review comments
Diffstat (limited to 'indra/newview/llcallfloater.cpp')
-rw-r--r-- | indra/newview/llcallfloater.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp index f1b1efc2e0..25b4671f91 100644 --- a/indra/newview/llcallfloater.cpp +++ b/indra/newview/llcallfloater.cpp @@ -131,9 +131,7 @@ LLCallFloater::~LLCallFloater() mAvatarListRefreshConnection.disconnect(); mVoiceChannelStateChangeConnection.disconnect(); - // Don't use LLVoiceClient::getInstance() here - // singleton MAY have already been destroyed. - if(LLVoiceClient::getInstance()) + if(LLVoiceClient::instanceExists()) { LLVoiceClient::getInstance()->removeObserver(this); } |