diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-07-12 16:34:38 +0300 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-07-12 16:34:38 +0300 |
commit | 4f6badf216144a37dc86c578d832c3a8f84df73e (patch) | |
tree | 0b992045609122e983ab2f51e3bc7cbaf9fa49b5 /indra/newview/llscriptfloater.h | |
parent | 50e6e5e49b252b38e48c2020a98e19215a74ca55 (diff) |
EXT-8124 FIXED Avoided saving processed notifications that spawns script floater.
Details:
1 Avoided memory leak in LLScriptFloaterManager caused not destroying processed notifications.
2 Provided destroying notification if user initiate closing script floater and not destroying if viewer exit.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/721/
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llscriptfloater.h')
-rw-r--r-- | indra/newview/llscriptfloater.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llscriptfloater.h b/indra/newview/llscriptfloater.h index dc0cfc2400..6990234fd7 100644 --- a/indra/newview/llscriptfloater.h +++ b/indra/newview/llscriptfloater.h @@ -65,6 +65,11 @@ public: void onAddNotification(const LLUUID& notification_id); /** + * Removes notification. + */ + void removeNotification(const LLUUID& notification_id); + + /** * Handles notification removal. * Removes script notification toast, removes script chiclet, closes script floater */ |