summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-10 21:56:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-10 21:56:39 +0800
commit5c3b733fd7ff097d576a618c78b48f75dcace49e (patch)
tree52e3eb1ece824de8e6f0c5058a6c62f56c4c4a23
parentcae5af4f384ce07da6dd5616c369d50356edee38 (diff)
downloadlua-language-server-5c3b733fd7ff097d576a618c78b48f75dcace49e.zip
修正 await 步进后没有重置索引的BUG
-rw-r--r--server-beta/src/await.lua1
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