📄 autogc.luac.lua
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l ;;1 15324843_manila.luac
trace("AutoGC load begin")
require("common")
require("class")
AutoGC = class()
AutoGC.__init = function(l_1_0, l_1_1, l_1_2, l_1_3)
trace("AutoGC __init")
l_1_0.PreGC = l_1_2
l_1_0.PostGC = l_1_3
l_1_0.Started = false
if l_1_1 then
l_1_0:Start()
end
end
AutoGC.OnIdleEvent = function(l_2_0)
if l_2_0.PreGC ~= nil then
do
local l_2_1 = nil
l_2_0:PreGC(l_2_1)
if l_2_1 ~= nil and not l_2_1 then
return
end
end
end
collectgarbage("collect")
if l_2_0.PostGC ~= nil then
l_2_0:PostGC()
end
end
AutoGC.Start = function(l_3_0)
if l_3_0.Started then
return
end
trace("AutoGC Start")
_application.OnIdleEvent:connect(AutoGC.OnIdleEvent, l_3_0)
l_3_0.Started = true
end
AutoGC.Stop = function(l_4_0)
if not l_4_0.Started then
return
end
trace("AutoGC Stop")
_application.OnIdleEvent:disconnect(AutoGC.OnIdleEvent, l_4_0)
l_4_0.Started = false
end
trace("AutoGC load end")
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -