Commit 249999e9 authored by David Fuhrmann's avatar David Fuhrmann Committed by Jean-Baptiste Kempf

macosx: remove unneeded libvlc_Quit and add some comments for termination

(cherry picked from commit cf14483972694a6395ce3b1b013dd00b448e3030)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5cf60db6
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment