Skip to content
Snippets Groups Projects
Commit 54bf954b authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

EXT-8226 FIXED Potential fix for a crash at startup in LLIMWellWindow::findIMChiclet().

Bug reason: LLChicletPanel::onCurrentVoiceChannelChanged() was called at startup, which, in turn, called LLIMWellWindow::findIMChiclet().
Apparently, LLIMWellWindow::mMessageList was not initialized yet, so dereferencing the null pointer caused the crash.

I couldn't reproduce the crash so I've just added defensive checks (just for any case)
and moved binding LLIMWellWindow::findIMChiclet() to sFindChicletsSignal from the constructor to postBuild().

Reviewed by Alexei Arabadji at https://codereview.productengine.com/secondlife/r/692/

--HG--
branch : product-engine
parent a05c48cf
No related branches found
No related tags found
No related merge requests found
Loading
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