about summary refs log tree commit diff stats
path: root/src/lapi.c
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-24 09:52:07 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-24 09:52:07 -0700
commit4a28aace9a3dfcb622cb0eac5e85d61d57ba7915 (patch)
tree4be64a8c0d4a7479562e25ce5974c2baa82e4681 /src/lapi.c
parent67e4fb8c8e27ed636eeac27a34c26b3c00186a69 (diff)
downloadteliva-4a28aace9a3dfcb622cb0eac5e85d61d57ba7915.tar.gz
get rid of userstate hooks
Diffstat (limited to 'src/lapi.c')
-rw-r--r--src/lapi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lapi.c b/src/lapi.c
index 5d5145d..3e3cb5e 100644
--- a/src/lapi.c
+++ b/src/lapi.c
@@ -145,7 +145,6 @@ LUA_API lua_State *lua_newthread (lua_State *L) {
   setthvalue(L, L->top, L1);
   api_incr_top(L);
   lua_unlock(L);
-  luai_userstatethread(L, L1);
   return L1;
 }