Commit efece9e0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

misc/events.c: Here we really would need a recursive lock to be safe.

parent 987801b6
......@@ -161,9 +161,7 @@ void vlc_event_send( vlc_event_manager_t * p_em,
ppsz_event_type_to_name[p_event->type],
listener->p_user_data );
#endif
/* This is safe to do that because we are sure
* that there will be no object owned references
* used after the lock. */
/* XXX: Use recursive lock. */
vlc_mutex_unlock( &p_em->object_lock );
func( p_event, user_data );
vlc_mutex_lock( &p_em->object_lock );
......
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