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

macosx: fixed a crash when rebuilding the playlist view on quit

(cherry picked from commit c7f4fdf8)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 690d0794
......@@ -1392,7 +1392,13 @@
forTableColumn:(NSTableColumn *)tableColumn
item:(id)item
{
playlist_t *p_playlist = pl_Get( VLCIntf );
/* this method can be called when VLC is already dead, hence the extra checks */
intf_thread_t * p_intf = VLCIntf;
if (!p_intf)
return;
playlist_t *p_playlist = pl_Get( p_intf );
if (!p_playlist)
return;
id o_playing_item;
......
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