From f71f8ecdf909bbeb6573870d3860b0447a64914c Mon Sep 17 00:00:00 2001 From: Dmitry Oleshko <doleshko@productengine.com> Date: Wed, 28 Oct 2009 12:08:49 +0200 Subject: [PATCH] additional comments for the major bug (EXT-1849) Crash in Notification subsystem while teleporting and having toasts shown --HG-- branch : product-engine --- indra/newview/lltoast.cpp | 6 +++++- indra/newview/lltoast.h | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp index b9c73076d2a..24824a095cb 100644 --- a/indra/newview/lltoast.cpp +++ b/indra/newview/lltoast.cpp @@ -208,7 +208,11 @@ void LLToast::setVisible(BOOL show) { if(mIsHidden) { - // this toast is invisible untill its ScreenChannel will allow it + // this toast is invisible after fade until its ScreenChannel will allow it + // + // (EXT-1849) according to this bug a toast can be resurrected from + // invisible state if it faded during a teleportation + // then it fades a second time and causes a crash return; } diff --git a/indra/newview/lltoast.h b/indra/newview/lltoast.h index d4fddc3077d..0698c948802 100644 --- a/indra/newview/lltoast.h +++ b/indra/newview/lltoast.h @@ -166,7 +166,7 @@ class LLToast : public LLModalDialog bool mCanBeStored; bool mHideBtnEnabled; bool mHideBtnPressed; - bool mIsHidden; // this flag is TRUE when a toast has faded or was hidden with (x) button + bool mIsHidden; // this flag is TRUE when a toast has faded or was hidden with (x) button (EXT-1849) }; } -- GitLab