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

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

View File

@@ -320,4 +320,7 @@ do
if autoRestart then
love.event.quit("restart")
end
end
end
--Var leak check
-- setmetatable(_G,{__newindex=function(self,k,v)print('>>'..k,tostring(v))rawset(self,k,v)end})