mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
removed initialization of 'GCestimate' (it is initialized during
a GC cycle, when it start counting)
This commit is contained in:
parent
16001acb15
commit
f74b87c3c2
1 changed files with 1 additions and 2 deletions
3
lstate.c
3
lstate.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lstate.c,v 2.135 2017/04/05 16:50:51 roberto Exp $
|
||||
** $Id: lstate.c,v 2.136 2017/04/11 19:00:27 roberto Exp roberto $
|
||||
** Global State
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -311,7 +311,6 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
|
|||
g->mainthread = L;
|
||||
g->seed = makeseed(L);
|
||||
g->gcrunning = 0; /* no GC while building state */
|
||||
g->GCestimate = 0;
|
||||
g->strt.size = g->strt.nuse = 0;
|
||||
g->strt.hash = NULL;
|
||||
setnilvalue(&g->l_registry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue