Should not link shared table to gray

This commit is contained in:
hong
2019-04-27 16:33:41 +08:00
committed by 云风
parent 68e94b2792
commit 505da68cb6

View File

@@ -276,9 +276,10 @@ static void reallymarkobject (global_State *g, GCObject *o) {
break;
}
case LUA_TTABLE: {
if (!isshared(o))
if (!isshared(o)) {
white2gray(o);
linkgclist(gco2t(o), g->gray);
}
break;
}
case LUA_TTHREAD: {