[vlc-commits] macosx: remove unneeded libvlc_Quit and add some comments for termination
vlc/vlc-2.2 | branch: master | David Fuhrmann | Sun Jun 22 13:15:51 2014 +0200| [24e977db428d4b2bc51fc81fe8ecfd435b40] | 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 > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=24e977db428d4b2bc51fc81fe8ecfd435b40 --- 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]; ___ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits
[vlc-commits] macosx: remove unneeded libvlc_Quit and add some comments for termination
vlc | branch: master | David Fuhrmann | Sun Jun 22 13:15:51 2014 +0200| [cf14483972694a6395ce3b1b013dd00b448e3030] | committer: David Fuhrmann macosx: remove unneeded libvlc_Quit and add some comments for termination > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cf14483972694a6395ce3b1b013dd00b448e3030 --- 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]; ___ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits