From 5173c2a93a6179ff2b5aecd4b7b580842898e2d6 Mon Sep 17 00:00:00 2001 From: Aimee Linden Date: Thu, 11 Feb 2010 14:44:36 +0000 Subject: Fixing another suicidal timer tick() --- indra/newview/llfloateruipreview.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloateruipreview.cpp b/indra/newview/llfloateruipreview.cpp index 3e804bef9d..f61c86db14 100644 --- a/indra/newview/llfloateruipreview.cpp +++ b/indra/newview/llfloateruipreview.cpp @@ -362,8 +362,7 @@ BOOL LLFadeEventTimer::tick() if(NULL == mParent) // no more need to tick, so suicide { - delete this; - return FALSE; + return TRUE; } // Set up colors -- cgit v1.2.3