diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 15:00:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-12-09 15:00:29 +0800 |
commit | 9f621b6076181e577748dda3966bbc526586445d (patch) | |
tree | 05057166585d0f229030c44718312432ab163dc7 /script-beta/await.lua | |
parent | 1e3726e3d3f6c84ce29e857181261b5ffb2d0da3 (diff) | |
download | lua-language-server-9f621b6076181e577748dda3966bbc526586445d.zip |
支持看lib的table
Diffstat (limited to 'script-beta/await.lua')
-rw-r--r-- | script-beta/await.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/script-beta/await.lua b/script-beta/await.lua index 5a960e96..38fb6548 100644 --- a/script-beta/await.lua +++ b/script-beta/await.lua @@ -89,9 +89,7 @@ function m.step() waker() return true else - for i = 1, #m.delayQueue do - m.delayQueue[i] = nil - end + m.delayQueue = {} m.delayQueueIndex = 1 return false end |