Commit cf144839 authored by David Fuhrmann's avatar David Fuhrmann

macosx: remove unneeded libvlc_Quit and add some comments for termination

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