diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-10 21:56:39 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-10 21:56:39 +0800 |
commit | 5c3b733fd7ff097d576a618c78b48f75dcace49e (patch) | |
tree | 52e3eb1ece824de8e6f0c5058a6c62f56c4c4a23 | |
parent | cae5af4f384ce07da6dd5616c369d50356edee38 (diff) | |
download | lua-language-server-5c3b733fd7ff097d576a618c78b48f75dcace49e.zip |
修正 await 步进后没有重置索引的BUG
-rw-r--r-- | server-beta/src/await.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server-beta/src/await.lua b/server-beta/src/await.lua index 37cade79..4187f4b4 100644 --- a/server-beta/src/await.lua +++ b/server-beta/src/await.lua @@ -87,6 +87,7 @@ function m.step() for i = 1, #m.delayQueue do m.delayQueue[i] = nil end + m.delayQueueIndex = 1 return false end end |