diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-01-20 15:41:48 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-01-20 15:41:48 +0200 |
commit | 3324c736d7df4035bc73b5f27c8eea756ff43234 (patch) | |
tree | b4621056caaaca3433f50e27dbf7e48485f96e54 /indra/newview | |
parent | d970835f411c16e685915bf344c01f207e57c905 (diff) |
fixed EXT-4515 “Crash when ending an IM session”,
corrected chiclet destroying;
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llchiclet.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp index 1d739f07b1..5497d6121f 100644 --- a/indra/newview/llchiclet.cpp +++ b/indra/newview/llchiclet.cpp @@ -1293,11 +1293,12 @@ void LLChicletPanel::onChicletClick(LLUICtrl*ctrl,const LLSD¶m) void LLChicletPanel::removeChiclet(chiclet_list_t::iterator it) { - mScrollArea->removeChild(*it); + LLChiclet* chiclet = *it; + mScrollArea->removeChild(chiclet); mChicletList.erase(it); arrange(); - (*it)->die(); + chiclet->die(); } void LLChicletPanel::removeChiclet(S32 index) |