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

LUA interface: unlock the mutex sometime

parent 02bffa9f
...@@ -185,7 +185,7 @@ static int vlclua_lock_and_wait( lua_State *L ) ...@@ -185,7 +185,7 @@ static int vlclua_lock_and_wait( lua_State *L )
mutex_cleanup_push( &p_sys->lock ); mutex_cleanup_push( &p_sys->lock );
while( !p_sys->exiting ) while( !p_sys->exiting )
vlc_cond_wait( &p_sys->wait, &p_sys->lock ); vlc_cond_wait( &p_sys->wait, &p_sys->lock );
vlc_cleanup_pop(); vlc_cleanup_run();
lua_pushboolean( L, 1 ); lua_pushboolean( L, 1 );
return 1; return 1;
} }
......
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