summaryrefslogtreecommitdiff
path: root/server/src/service.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-28 10:39:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-28 10:39:18 +0800
commitee2b29b81b19d1d2a3bc28805b177b15d59088a1 (patch)
treeb63a6587cb2acc4749aa7074d735d335c7db0a56 /server/src/service.lua
parentde05c9167e2d9046d35bc5e6a9d4c587607ab219 (diff)
downloadlua-language-server-ee2b29b81b19d1d2a3bc28805b177b15d59088a1.zip
支持highlight
Diffstat (limited to 'server/src/service.lua')
-rw-r--r--server/src/service.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua
index 41630d12..83f4aa0c 100644
--- a/server/src/service.lua
+++ b/server/src/service.lua
@@ -610,6 +610,7 @@ function mt:restartDueToMemoryLeak()
end
function mt:_testMemory()
+ collectgarbage()
local cachedVM = 0
local cachedSource = 0
local cachedFunction = 0