添加一段测试用代码,检查变量泄露

This commit is contained in:
MrZ626
2021-04-22 21:59:02 +08:00
parent 95c9a1d638
commit 420abe8240

View File

@@ -321,3 +321,6 @@ do
love.event.quit("restart")
end
end
--Var leak check
-- setmetatable(_G,{__newindex=function(self,k,v)print('>>'..k,tostring(v))rawset(self,k,v)end})