diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-24 14:19:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-06-24 14:19:43 -0300 |
commit | 2394604d10cd9c960b4c1d73ee32672830954139 (patch) | |
tree | 1b6cdf51a84bea100525cab8f27aeada59b33259 /lgc.c | |
parent | 922f36a05b249739814c54142036dc81f23bc7a0 (diff) | |
download | lua-github-2394604d10cd9c960b4c1d73ee32672830954139.tar.gz |
assertion may fail when closing a state
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lgc.c,v 1.136 2002/05/08 17:34:23 roberto Exp roberto $ +** $Id: lgc.c,v 1.137 2002/06/20 20:41:46 roberto Exp roberto $ ** Garbage Collector ** See Copyright Notice in lua.h */ @@ -364,8 +364,6 @@ static void collectudata (lua_State *L) { } else { *p = curr->uv.next; - lua_assert(isfinalized(curr) || - fasttm(L, curr->uv.metatable, TM_GC) == NULL); luaM_free(L, curr, sizeudata(curr->uv.len & (~(size_t)3))); } } |