REF clean up dead code

This commit is contained in:
Nathan Dwarshuis 2021-07-16 23:38:27 -04:00
parent ca136ad551
commit 1fb91d03be
2 changed files with 10 additions and 11 deletions

View File

@ -76,7 +76,6 @@ local writes = Common.initLabeledScalePlot(
2 2
) )
_PLOT_SEC_BREAK_ = nil _PLOT_SEC_BREAK_ = nil
_PLOT_HEIGHT_ = nil _PLOT_HEIGHT_ = nil

View File

@ -108,18 +108,18 @@ local cs_right = _make_static_surface(
-- --
-- kill all the stuff we don't need for the main loop -- kill all the stuff we don't need for the main loop
-- --
local _unrequire = function(m) package.loaded[m] = nil end -- local _unrequire = function(m) package.loaded[m] = nil end
_unrequire('Super') -- _unrequire('Super')
_unrequire('Color') -- _unrequire('Color')
_unrequire('Widget') -- _unrequire('Widget')
_unrequire('Patterns') -- _unrequire('Patterns')
_unrequire = nil -- _unrequire = nil
_make_static_surface = nil -- _make_static_surface = nil
FillRect = nil -- FillRect = nil
_G_INIT_DATA_ = nil -- _G_INIT_DATA_ = nil
collectgarbage() -- collectgarbage()
-- --
-- main loop -- main loop