]> git.sesse.net Git - vlc/commitdiff
macosx: remove unneeded libvlc_Quit and add some comments for termination
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 22 Jun 2014 11:15:51 +0000 (13:15 +0200)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 22 Jun 2014 11:41:11 +0000 (13:41 +0200)
modules/gui/macosx/intf.m

index 0fca5ba5a545369d33429aa168d8b70a53c103fc..fcfa057492836395c4ff5d455d36b57f6d3f5a7b 100644 (file)
@@ -289,6 +289,7 @@ static void Run(intf_thread_t *p_intf)
     [NSBundle loadNibNamed: @"MainMenu" owner: NSApp];
 
     [NSApp run];
+    msg_Dbg(p_intf, "Run loop has been stopped");
     [[VLCMain sharedInstance] applicationWillTerminate:nil];
     [o_appLock release];
     [o_vout_provider_lock release];
@@ -852,6 +853,7 @@ static VLCMain *_o_sharedMainInstance = nil;
 
     [o_vout_provider_lock lock];
     // release before o_info!
+    // closes all open vouts
     [o_vout_controller release];
     o_vout_controller = nil;
     [o_vout_provider_lock unlock];
@@ -893,8 +895,6 @@ static VLCMain *_o_sharedMainInstance = nil;
     [o_mainmenu release];
     [o_coreinteraction release];
 
-    libvlc_Quit(p_intf->p_libvlc);
-
     o_mainwindow = NULL;
 
     [self setIntf:nil];