Commit 1a74e0bf authored by Rafaël Carré's avatar Rafaël Carré

rc : stop the playlist before exiting, fix quitting with EOF on OSX

parent ac73a898
......@@ -2123,8 +2123,11 @@ vlc_bool_t ReadCommand( intf_thread_t *p_intf, char *p_buffer, int *pi_size )
p_intf->p_sys->i_socket = -1;
}
else
{
/* Standard input closed: exit */
vlc_object_kill( p_intf );
vlc_value_t empty;
Quit( p_intf, NULL, empty, empty, NULL );
}
p_buffer[ *pi_size ] = 0;
return VLC_TRUE;
......
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