diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-05 17:38:01 +0300 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2010-07-05 17:38:01 +0300 |
commit | 54bf954b16c63f9b7be457b48ee5655627831856 (patch) | |
tree | 621c6bfba415136d93045ad60596023efa38f135 /indra/llcommon/llsafehandle.h | |
parent | a05c48cf140f483546828fa264c8904d190d46bc (diff) |
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
Diffstat (limited to 'indra/llcommon/llsafehandle.h')
0 files changed, 0 insertions, 0 deletions