diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-17 14:18:13 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-17 14:18:13 +0800 |
commit | 1c0b098f9b722f775c75bd779d0327a1a431408e (patch) | |
tree | 393b76c06c127f0aee35a191dc5728c6829a12fa /server/src | |
parent | 450362c7a55294581eca2cd5ab34ccd286ab08cb (diff) | |
download | lua-language-server-1c0b098f9b722f775c75bd779d0327a1a431408e.zip |
去掉没必要的完整垃圾回收
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/async/loadfile.lua | 1 | ||||
-rw-r--r-- | server/src/async/proto.lua | 1 |
2 files changed, 0 insertions, 2 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 diff --git a/server/src/async/proto.lua b/server/src/async/proto.lua index bc2714af..3e7fcc60 100644 --- a/server/src/async/proto.lua +++ b/server/src/async/proto.lua @@ -53,6 +53,5 @@ end while true do readProto() - collectgarbage() GC:push(ID, collectgarbage 'count') end |