Commit 15a725ad authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

remoteosd: no need for vlc_object_kill()

vlc_cancel() terminates the thread. There is a massive leak though.
parent 966304b4
......@@ -370,10 +370,6 @@ static void stop_osdvnc ( filter_t *p_filter )
{
filter_sys_t *p_sys = p_filter->p_sys;
/* It will unlock socket reading */
vlc_object_kill( p_filter );
/* */
msg_Dbg( p_filter, "joining worker_thread" );
vlc_cancel( p_sys->worker_thread );
vlc_join( p_sys->worker_thread, NULL );
......
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