]> git.sesse.net Git - vlc/commitdiff
macosx: Make sure we don't return from manageIntf: before setting up a new timer.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 10:42:02 +0000 (12:42 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jul 2008 10:42:02 +0000 (12:42 +0200)
modules/gui/macosx/intf.m

index eb61920db94315cfa1ff386b5082c36719e289d3..514e4f2cc993eccebfe3d7bbab71ffcf49ab0a6b 100644 (file)
@@ -1306,7 +1306,7 @@ static VLCMain *_o_sharedMainInstance = nil;
             {
                 vlc_object_release( p_input );
                 vlc_object_release( p_playlist );
-                return;
+                goto end;
             }
             if( input_item_GetNowPlaying ( p_playlist->status.p_item->p_input ) )
                 o_temp = [NSString stringWithUTF8String: 
@@ -1380,6 +1380,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     }
     vlc_object_release( p_playlist );
 
+end:
     [self updateMessageArray];
 
     if( ((i_end_scroll != -1) && (mdate() > i_end_scroll)) || !p_input )