From ba3586cc90d1ab8d499437dd7c504798371b0e4f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 11 Feb 2014 10:18:12 -0200 Subject: keep a single list of objects to be finalized (with local and non-local objects), to ensure finalization order --- lstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.c') diff --git a/lstate.c b/lstate.c index fafef92e..2f21f98e 100644 --- a/lstate.c +++ b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 2.115 2013/09/17 15:40:06 roberto Exp roberto $ +** $Id: lstate.c,v 2.116 2013/11/08 17:34:22 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -320,7 +320,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { g->panic = NULL; g->version = NULL; g->gcstate = GCSpause; - g->localgc = g->localfin = g->allgc = g->finobj = NULL; + g->localgc = g->allgc = g->finobj = NULL; g->tobefnz = NULL; g->fixedgc = NULL; g->sweepgc = NULL; -- cgit v1.2.3-55-g6feb