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

Disable screensaver preemption before destroying the module

(cherry picked from commit 79bb2f751a8a4a90d56d728828a82a462298bce7)
parent c2447f7d
......@@ -99,7 +99,10 @@ void vout_window_Delete(vout_window_t *window)
window_t *w = (window_t *)window;
if (w->inhibit)
{
vlc_inhibit_Set (w->inhibit, false);
vlc_inhibit_Destroy (w->inhibit);
}
module_unneed(window, w->module);
......
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