aboutsummaryrefslogtreecommitdiff
path: root/lgc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lgc.c')
-rw-r--r--lgc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lgc.c b/lgc.c
index 0e4e5552..aa95c028 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1700,8 +1700,9 @@ static void fullinc (lua_State *L, global_State *g) {
1700 /* finish any pending sweep phase to start a new cycle */ 1700 /* finish any pending sweep phase to start a new cycle */
1701 luaC_runtilstate(L, bitmask(GCSpause)); 1701 luaC_runtilstate(L, bitmask(GCSpause));
1702 luaC_runtilstate(L, bitmask(GCScallfin)); /* run up to finalizers */ 1702 luaC_runtilstate(L, bitmask(GCScallfin)); /* run up to finalizers */
1703 luaC_runtilstate(L, bitmask(GCSpause)); /* finish collection */
1704 /* estimate must be correct after a full GC cycle */ 1703 /* estimate must be correct after a full GC cycle */
1704 lua_assert(g->marked == gettotalobjs(g));
1705 luaC_runtilstate(L, bitmask(GCSpause)); /* finish collection */
1705 setpause(g); 1706 setpause(g);
1706} 1707}
1707 1708