[vlc-devel] commit: macosx: Invalidate the fspanel timer. (Pierre d'Herbemont )

git version control git at videolan.org
Sun Jul 6 18:55:50 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Jul  6 18:57:59 2008 +0200| [e91ee32adf6f8b6e28c67043609dcfd9e16f0219]

macosx: Invalidate the fspanel timer.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e91ee32adf6f8b6e28c67043609dcfd9e16f0219
---

 modules/gui/macosx/fspanel.m |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/macosx/fspanel.m b/modules/gui/macosx/fspanel.m
index 5ca46d8..81766ac 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];
 }




More information about the vlc-devel mailing list