diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-12 17:13:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-12 17:13:04 +0800 |
commit | 894db9dc2125acdfe9ef69759bf7709d25552eef (patch) | |
tree | f0234ff09a6667ea4e41f85a9d8a90caea820a8a /server/src/service.lua | |
parent | 26acef86a9acef06f63605a2dfff0647f36655de (diff) | |
download | lua-language-server-894db9dc2125acdfe9ef69759bf7709d25552eef.zip |
修正一些bug
Diffstat (limited to 'server/src/service.lua')
-rw-r--r-- | server/src/service.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 0c533b35..a66864a8 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -332,6 +332,9 @@ function mt:compileVM(uri) else return nil end + if obj.vm then + obj.vm:remove() + end obj.vm = vm obj.vmCost = os.clock() - clock obj.vmVersion = version |