diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2012-02-10 20:36:53 +0200 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2012-02-10 20:36:53 +0200 |
commit | 5d276be881593b9e2c247edf8e6361447e964d52 (patch) | |
tree | 75b6609ccf2b65346fcc7c8ed2d2dcb7d13d7ad4 | |
parent | 45e30f35dc1a3dc07862ca9f67bbbdb238d364fe (diff) |
EXP-1885 FIXED the crash when receiving multiple inventory offer notifications.
Fixed erasing the iterator which was becoming invalid on recursive calls.
-rw-r--r-- | indra/newview/llscreenchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index 1045009a04..a0f146e506 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -327,8 +327,8 @@ void LLScreenChannel::onToastFade(LLToast* toast) bool delete_toast = !mCanStoreToasts || !toast->getCanBeStored(); if(delete_toast) { - deleteToast(toast); mToastList.erase(it); + deleteToast(toast); } else { |