Lua垃圾回收机制

在Lua中,一共只有8种数据类型,分别为nil、boolean、userdata、number、string、table、function、userdata和thread。灰色:等待回收的对象:该对象已被GC...