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

lua: fix playlist locking

parent 15bfa0f7
......@@ -299,8 +299,8 @@ static int vlclua_playlist_search( lua_State *L )
const char *psz_string = luaL_optstring( L, 1, "" );
PL_LOCK;
playlist_LiveSearchUpdate( p_playlist, p_playlist->p_root, psz_string, true );
PL_UNLOCK;
push_playlist_item( L, p_playlist->p_root );
PL_UNLOCK;
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