[vlc-commits] macosx: remove unneeded libvlc_Quit and add some comments for termination

David Fuhrmann git at videolan.org
Sun Jun 29 23:26:08 CEST 2014


vlc/vlc-2.2 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sun Jun 22 13:15:51 2014 +0200| [249999e977db428d4b2bc51fc81fe8ecfd435b40] | committer: Jean-Baptiste Kempf

macosx: remove unneeded libvlc_Quit and add some comments for termination

(cherry picked from commit cf14483972694a6395ce3b1b013dd00b448e3030)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/macosx/intf.m |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 0fca5ba..fcfa057 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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];



More information about the vlc-commits mailing list