Commit ec5729a7 authored by Felix Paul Kühne's avatar Felix Paul Kühne Committed by Jean-Baptiste Kempf

macosx: removed hacks which could lead to crashes when quitting VLC

(cherry picked from commit 69e78ded)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9037d5f9
......@@ -692,7 +692,6 @@ static VLCMain *_o_sharedMainInstance = nil;
[[NSNotificationCenter defaultCenter] postNotificationName: NSApplicationWillTerminateNotification object: nil];
playlist_t * p_playlist;
vout_thread_t * p_vout;
int returnedValue = 0;
if( !p_intf )
......@@ -714,8 +713,6 @@ static VLCMain *_o_sharedMainInstance = nil;
msg_Dbg( p_intf, "Terminating" );
/* Make sure the intf object is getting killed */
vlc_object_kill( p_intf );
p_playlist = pl_Get( p_intf );
/* unsubscribe from the interactive dialogues */
......@@ -783,9 +780,6 @@ static VLCMain *_o_sharedMainInstance = nil;
[o_mainmenu releaseRepresentedObjects:[NSApp mainMenu]];
[o_mainmenu release];
/* Kill the playlist, so that it doesn't accept new request
* such as the play request from vlc.c (we are a blocking interface). */
vlc_object_kill( p_playlist );
libvlc_Quit( p_intf->p_libvlc );
[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