Commit 68af752d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cancel interface thread on exit

DBus, XOSD and Audio Scrobbler interfaces depend on this.
parent cc26826f
......@@ -199,7 +199,10 @@ void intf_DestroyAll( libvlc_int_t *p_libvlc )
intf_thread_t *p_next = p_intf->p_next;
if( p_intf->pf_run )
{
vlc_cancel( p_intf->thread );
vlc_join( p_intf->thread, NULL );
}
module_unneed( p_intf, p_intf->p_module );
free( p_intf->psz_intf );
config_ChainDestroy( p_intf->p_cfg );
......
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