diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-27 11:56:01 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-27 11:56:01 +0800 |
commit | d58bd9064a60ebfb6d2dbe97b383e28f0a8fc34a (patch) | |
tree | 53639b574d4e195795611ce0a8af733626dd39ca /script/service | |
parent | 3715635806ae4680a81746d46e3714a4d06b0f5d (diff) | |
download | lua-language-server-d58bd9064a60ebfb6d2dbe97b383e28f0a8fc34a.zip |
Fair treatment of timers
Diffstat (limited to 'script/service')
-rw-r--r-- | script/service/service.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/service.lua b/script/service/service.lua index 41c8e7bf..1fcfa340 100644 --- a/script/service/service.lua +++ b/script/service/service.lua @@ -135,12 +135,12 @@ end function m.startTimer() while true do - ::CONTINUE:: pub.step() if await.step() then goto CONTINUE end thread.sleep(0.001) + ::CONTINUE:: timer.update() end end |