diff options
Diffstat (limited to '')
-rw-r--r-- | lgc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -953,7 +953,7 @@ static void GCTM (lua_State *L) { | |||
953 | setgcovalue(L, &v, udata2finalize(g)); | 953 | setgcovalue(L, &v, udata2finalize(g)); |
954 | tm = luaT_gettmbyobj(L, &v, TM_GC); | 954 | tm = luaT_gettmbyobj(L, &v, TM_GC); |
955 | if (!notm(tm)) { /* is there a finalizer? */ | 955 | if (!notm(tm)) { /* is there a finalizer? */ |
956 | int status; | 956 | TStatus status; |
957 | lu_byte oldah = L->allowhook; | 957 | lu_byte oldah = L->allowhook; |
958 | lu_byte oldgcstp = g->gcstp; | 958 | lu_byte oldgcstp = g->gcstp; |
959 | g->gcstp |= GCSTPGC; /* avoid GC steps */ | 959 | g->gcstp |= GCSTPGC; /* avoid GC steps */ |