summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 6a6c59c7..3007b468 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -462,6 +462,8 @@ function m.flushFiles(scp)
for uri in pairs(cachedUris) do
files.delRef(uri)
end
+ collectgarbage()
+ collectgarbage()
end
---@param scp scope