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

Qt4: deactivate the playlist before exit

parent d32dc564
......@@ -418,8 +418,11 @@ static void Close( vlc_object_t *p_this )
if( !p_sys->b_isDialogProvider )
{
var_Destroy (pl_Get(p_this), "window");
var_Destroy (pl_Get(p_this), "qt4-iface");
playlist_t *pl = pl_Get(p_this);
var_Destroy (pl, "window");
var_Destroy (pl, "qt4-iface");
playlist_Deactivate (pl); /* release window provider if needed */
}
/* And quit */
......
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