diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-09-03 12:37:10 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-09-03 12:37:10 -0300 |
| commit | aeff4f79fa10caef29617652aa49b77055f4045e (patch) | |
| tree | 8f411b76c7c0b496c01224a36852ed38527dba3d /lstate.c | |
| parent | 1bf4faec64aca03e1036235e72675f0617124140 (diff) | |
| download | lua-aeff4f79fa10caef29617652aa49b77055f4045e.tar.gz lua-aeff4f79fa10caef29617652aa49b77055f4045e.tar.bz2 lua-aeff4f79fa10caef29617652aa49b77055f4045e.zip | |
local collection now calls finalizers
Diffstat (limited to 'lstate.c')
| -rw-r--r-- | lstate.c | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.c,v 2.108 2013/08/28 18:30:26 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.109 2013/08/30 19:14:26 roberto Exp roberto $ |
| 3 | ** Global State | 3 | ** Global State |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -296,9 +296,7 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) { | |||
| 296 | g->panic = NULL; | 296 | g->panic = NULL; |
| 297 | g->version = lua_version(NULL); | 297 | g->version = lua_version(NULL); |
| 298 | g->gcstate = GCSpause; | 298 | g->gcstate = GCSpause; |
| 299 | g->allgc = NULL; | 299 | g->localgc = g->localfin = g->allgc = g->finobj = NULL; |
| 300 | g->localgc = NULL; | ||
| 301 | g->finobj = NULL; | ||
| 302 | g->tobefnz = NULL; | 300 | g->tobefnz = NULL; |
| 303 | g->fixedgc = NULL; | 301 | g->fixedgc = NULL; |
| 304 | g->sweepgc = NULL; | 302 | g->sweepgc = NULL; |
