From e91ee32adf6f8b6e28c67043609dcfd9e16f0219 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 6 Jul 2008 18:57:59 +0200 Subject: [PATCH] macosx: Invalidate the fspanel timer. --- modules/gui/macosx/fspanel.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/gui/macosx/fspanel.m b/modules/gui/macosx/fspanel.m index 5ca46d80bb..81766aca3f 100644 --- a/modules/gui/macosx/fspanel.m +++ b/modules/gui/macosx/fspanel.m @@ -96,7 +96,10 @@ [[NSNotificationCenter defaultCenter] removeObserver: self]; if( hideAgainTimer ) + { + [hideAgainTimer invalidate]; [hideAgainTimer release]; + } [self setFadeTimer:nil]; [super dealloc]; } -- 2.39.2