Skip to content

Commit 40f1c26

Browse files
committed
collectgarbage after reload workspace
1 parent 0d64cc2 commit 40f1c26

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
@@ -462,6 +462,8 @@ function m.flushFiles(scp)
462462
for uri in pairs(cachedUris) do
463463
files.delRef(uri)
464464
end
465+
collectgarbage()
466+
collectgarbage()
465467
end
466468

467469
---@param scp scope

0 commit comments

Comments
 (0)