Commit 255107d0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

No need to check b_thread... there is ALWAYS a thread here

parent 25fd4bfd
...@@ -289,12 +289,8 @@ void bonjour_stop_service( void *_p_sys ) ...@@ -289,12 +289,8 @@ void bonjour_stop_service( void *_p_sys )
{ {
bonjour_t *p_sys = (bonjour_t *)_p_sys; bonjour_t *p_sys = (bonjour_t *)_p_sys;
if( p_sys->poll_thread->b_thread ) vlc_object_kill( p_sys->poll_thread );
{ vlc_thread_join( p_sys->poll_thread );
vlc_object_kill( p_sys->poll_thread );
vlc_thread_join( p_sys->poll_thread );
}
vlc_object_destroy( p_sys->poll_thread ); vlc_object_destroy( p_sys->poll_thread );
if( p_sys->group != NULL ) if( p_sys->group != 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