summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2012-02-10 20:36:53 +0200
committerSeth ProductEngine <slitovchuk@productengine.com>2012-02-10 20:36:53 +0200
commit5d276be881593b9e2c247edf8e6361447e964d52 (patch)
tree75b6609ccf2b65346fcc7c8ed2d2dcb7d13d7ad4 /indra/newview
parent45e30f35dc1a3dc07862ca9f67bbbdb238d364fe (diff)
EXP-1885 FIXED the crash when receiving multiple inventory offer notifications.
Fixed erasing the iterator which was becoming invalid on recursive calls.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llscreenchannel.cpp2
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
{