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

Quit VLC explicitly before we destroy the interface

If VLC is being destroyed for programmatic reasons (libvlc_release()),
the user might not have "quit".
parent 8456e0b9
......@@ -1032,6 +1032,7 @@ void libvlc_InternalCleanup( libvlc_int_t *p_libvlc )
/* Ask the interfaces to stop and destroy them */
msg_Dbg( p_libvlc, "removing all interfaces" );
libvlc_Quit( p_libvlc );
intf_DestroyAll( p_libvlc );
#ifdef ENABLE_VLM
......
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