diff options
author | Debi King (Dessie) <dessie@lindenlab.com> | 2011-11-10 13:10:34 -0500 |
---|---|---|
committer | Debi King (Dessie) <dessie@lindenlab.com> | 2011-11-10 13:10:34 -0500 |
commit | 2b5eeffcb8b75487226159f1b3438fe9dd87f891 (patch) | |
tree | 63151cf9e2ec86647a69b1dd04a6fa3a23ac4a88 /indra/newview/llimfloatercontainer.cpp | |
parent | 66fdc6af3e6d0fb0438ef9721b5ca311be4c08a4 (diff) | |
parent | 0f79a053c329e9b3206527badfc66e02605506d6 (diff) |
reconciled .hgtags
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 33cb3a54a7..c8e48b0d42 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -47,12 +47,13 @@ LLIMFloaterContainer::LLIMFloaterContainer(const LLSD& seed) LLIMFloaterContainer::~LLIMFloaterContainer() { + mNewMessageConnection.disconnect(); LLTransientFloaterMgr::getInstance()->removeControlView(LLTransientFloaterMgr::IM, this); } BOOL LLIMFloaterContainer::postBuild() { - LLIMModel::instance().mNewMsgSignal.connect(boost::bind(&LLIMFloaterContainer::onNewMessageReceived, this, _1)); + mNewMessageConnection = LLIMModel::instance().mNewMsgSignal.connect(boost::bind(&LLIMFloaterContainer::onNewMessageReceived, this, _1)); // Do not call base postBuild to not connect to mCloseSignal to not close all floaters via Close button // mTabContainer will be initialized in LLMultiFloater::addChild() return TRUE; |