Commit c7f4fdf8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 5b459832
......@@ -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