summaryrefslogtreecommitdiff
path: root/server/src/async/loadfile.lua
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-17 14:18:13 +0800
committersumneko <sumneko@hotmail.com>2019-04-17 14:18:13 +0800
commit1c0b098f9b722f775c75bd779d0327a1a431408e (patch)
tree393b76c06c127f0aee35a191dc5728c6829a12fa /server/src/async/loadfile.lua
parent450362c7a55294581eca2cd5ab34ccd286ab08cb (diff)
downloadlua-language-server-1c0b098f9b722f775c75bd779d0327a1a431408e.zip
去掉没必要的完整垃圾回收
Diffstat (limited to 'server/src/async/loadfile.lua')
-rw-r--r--server/src/async/loadfile.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/src/async/loadfile.lua b/server/src/async/loadfile.lua
index e5f270fb..a7838f7f 100644
--- a/server/src/async/loadfile.lua
+++ b/server/src/async/loadfile.lua
@@ -7,6 +7,5 @@ while true do
if buf then
OUT:push(filename, buf)
end
- collectgarbage()
GC:push(ID, collectgarbage 'count')
end