Skip to content

Commit 59b2b8e

Browse files
committed
restart gc after flush files
1 parent 2e49b39 commit 59b2b8e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/workspace/workspace.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,8 @@ function m.flushFiles(scp)
464464
end
465465
collectgarbage()
466466
collectgarbage()
467+
-- TODO: wait maillist
468+
collectgarbage 'restart'
467469
end
468470

469471
---@param scp scope

0 commit comments

Comments
 (0)