diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-11-15 10:41:53 -0800 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-11-15 10:41:53 -0800 |
commit | 70b9dd6ee6af483bf1c96631bb25fd6a3703b351 (patch) | |
tree | d8f07d0db009cfd37fc20882fefef2f852dd9cd7 /indra/newview/llfloaterimsessiontab.cpp | |
parent | ed202aaad52bcf934e89fd4e51d7217d2990574e (diff) |
CHUI-524: FIX Removing a function call that results in a circular logic loop and an eventual stack overflow crash.
Diffstat (limited to 'indra/newview/llfloaterimsessiontab.cpp')
-rw-r--r-- | indra/newview/llfloaterimsessiontab.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 3a1cc2880a..26a97ea422 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -313,7 +313,13 @@ void LLFloaterIMSessionTab::onFocusReceived() if (container) { container->selectConversationPair(mSessionID, true); + // XXX stinson 11/15/2012 : calling show stub from this focus handler results in a circular + // logic loop of function calls that eventually result in a stack overflow. + // See CHUI-524 for documentation +#define XXX_STINSON_HACK_CHUI_524 1 +#if !XXX_STINSON_HACK_CHUI_524 container->showStub(! getHost()); +#endif } } |