diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-22 16:34:59 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-22 16:34:59 +0800 |
commit | 5df9959be4a51ab567743b72753f15a24b8f7ef6 (patch) | |
tree | 238a4e2563425453231edbd2348ceda2233c7167 /server/src/async | |
parent | d40edfa5955d4901c971c1ec53248afbaf0cc6e8 (diff) | |
download | lua-language-server-5df9959be4a51ab567743b72753f15a24b8f7ef6.zip |
把所有文件都加载进来
Diffstat (limited to 'server/src/async')
-rw-r--r-- | server/src/async/async.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/async/async.lua b/server/src/async/async.lua index b381ae11..953cf5cf 100644 --- a/server/src/async/async.lua +++ b/server/src/async/async.lua @@ -78,7 +78,7 @@ local function callback(id, running) end -- TODO 封装成对象 local suc, destroy = xpcall(running.callback, log.error, result) - if suc and destroy then + if not suc or destroy then RunningList[id] = nil IdlePool[#IdlePool+1] = running.task break |