Skip to content
Snippets Groups Projects
Commit 740ab95d authored by Erwan Tulou's avatar Erwan Tulou
Browse files

skins2: fix race condition (if multiple vouts)

Close must also be serialized (one single global lock/wait).
parent 890ea92a
No related merge requests found
......@@ -362,7 +362,9 @@ static void WindowClose( vlc_object_t *p_this )
vout_window_t *pWnd = (vout_window_t *)p_this;
intf_thread_t *pIntf = (intf_thread_t *)pWnd->sys;
vlc_mutex_lock( &serializer );
VoutManager::releaseWindow( pIntf, pWnd );
vlc_mutex_unlock( &serializer );
vlc_object_release( pIntf );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment