From dae1e12d0bc0be3b6c243dc624b30e1ed3b07410 Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 10 Jul 2018 21:40:09 +0300 Subject: liblua updated to version 5.3.5 --- libs/liblua/src/lstate.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/liblua/src') diff --git a/libs/liblua/src/lstate.c b/libs/liblua/src/lstate.c index 8815afb95f..c1a76643c3 100644 --- a/libs/liblua/src/lstate.c +++ b/libs/liblua/src/lstate.c @@ -339,9 +339,6 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { LUA_API void lua_close (lua_State *L) { - if (!L) - return; - L = G(L)->mainthread; /* only the main thread can be closed */ lua_lock(L); close_state(L); -- cgit v1.2.3