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

Use vlc_mutex_locker

parent fb77c0f7
...@@ -407,9 +407,9 @@ static void Close( vlc_object_t *p_this ) ...@@ -407,9 +407,9 @@ static void Close( vlc_object_t *p_this )
x11_display = NULL; x11_display = NULL;
#endif #endif
delete p_sys; delete p_sys;
vlc_mutex_lock (&one.lock);
vlc_mutex_locker locker (&one.lock);
one.busy = false; one.busy = false;
vlc_mutex_unlock (&one.lock);
} }
static void *Thread( void *obj ) static void *Thread( void *obj )
......
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