diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-03-21 14:16:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-03-21 14:16:14 +0800 |
commit | efe60d90cc42d47afdc75abf61f7b237ebaef40f (patch) | |
tree | d18d0304bc9008a26a217f7a9d2d97319754a146 /server/src | |
parent | 7ae9cead73d04b53cdb29b033f5ab4cfcf516f38 (diff) | |
download | lua-language-server-efe60d90cc42d47afdc75abf61f7b237ebaef40f.zip |
不能重编,否则会丢失引用,以后想其他办法
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/service.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index 4b9d4319..214e3f41 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -224,9 +224,6 @@ function mt:loadVM(uri) if not obj then return nil end - if uri ~= self._lastLoadedVM then - self:needCompile(uri) - end self:compileVM(uri) if obj.vm then self._lastLoadedVM = uri |