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

Disable screensaver preemption before destroying the module

parent 8178340c
...@@ -106,7 +106,10 @@ void vout_window_Delete(vout_window_t *window) ...@@ -106,7 +106,10 @@ void vout_window_Delete(vout_window_t *window)
window_t *w = (window_t *)window; window_t *w = (window_t *)window;
if (w->inhibit) if (w->inhibit)
{
vlc_inhibit_Set (w->inhibit, false);
vlc_inhibit_Destroy (w->inhibit); vlc_inhibit_Destroy (w->inhibit);
}
module_unneed(window, w->module); 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