diff options
author | Merov Linden <merov@lindenlab.com> | 2012-12-17 20:16:33 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-12-17 20:16:33 -0800 |
commit | c2d332a89cb29d54df40f1f120304d871278fb76 (patch) | |
tree | 9102fe977dfe35767fd009af6f8cdd9607a9d190 /indra/newview/llconversationmodel.cpp | |
parent | 3d137bae5c5435dde305323179d8d3d6c9720bad (diff) |
CHUI-580 : WIP : Added disconnect of callbacks once they're called to prevent filling up the callback queue
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
-rw-r--r-- | indra/newview/llconversationmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index ef9e0e02e5..b1f45d6d64 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -446,6 +446,8 @@ void LLConversationItemParticipant::buildContextMenu(LLMenuGL& menu, U32 flags) void LLConversationItemParticipant::onAvatarNameCache(const LLAvatarName& av_name) { + mAvatarNameCacheConnection.disconnect(); + mName = av_name.getUserName(); mDisplayName = av_name.getDisplayName(); mNeedsRefresh = true; |