Skip to content
Snippets Groups Projects
Commit 70b9dd6e authored by William Todd Stinson's avatar William Todd Stinson
Browse files

CHUI-524: FIX Removing a function call that results in a circular logic loop...

CHUI-524: FIX Removing a function call that results in a circular logic loop and an eventual stack overflow crash.
parent ed202aaa
No related branches found
No related tags found
No related merge requests found
...@@ -313,7 +313,13 @@ void LLFloaterIMSessionTab::onFocusReceived() ...@@ -313,7 +313,13 @@ void LLFloaterIMSessionTab::onFocusReceived()
if (container) if (container)
{ {
container->selectConversationPair(mSessionID, true); 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()); container->showStub(! getHost());
#endif
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment