Commit 5ebee8d0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove no-op vlc_object-kill in vlc_object_destroy

If the object has no references left, b_alive is irrelevant.
parent 36c4a22f
...@@ -255,9 +255,6 @@ static void vlc_object_destroy( vlc_object_t *p_this ) ...@@ -255,9 +255,6 @@ static void vlc_object_destroy( vlc_object_t *p_this )
{ {
vlc_object_internals_t *p_priv = vlc_internals( p_this ); vlc_object_internals_t *p_priv = vlc_internals( p_this );
/* Send a kill to the object's thread if applicable */
vlc_object_kill( p_this );
/* Call the custom "subclass" destructor */ /* Call the custom "subclass" destructor */
if( p_priv->pf_destructor ) if( p_priv->pf_destructor )
p_priv->pf_destructor( p_this ); p_priv->pf_destructor( p_this );
......
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