Commit 48b6fb5c authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

control/media_instance.c: Don't forget to stop the thread.

parent 69f05cb2
......@@ -61,6 +61,7 @@ static void release_input_thread( libvlc_media_instance_t *p_mi )
if( should_destroy )
{
/* We owned this one */
input_StopThread( p_input_thread );
var_Destroy( p_input_thread, "drawable" );
input_DestroyThread( p_input_thread );
}
......
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