1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix the remaining obsolete reference to time.sleep and time.usleep

This commit is contained in:
Delyan Angelov
2021-02-22 09:12:23 +02:00
parent da05c7ed1a
commit c37daba41d
6 changed files with 14 additions and 14 deletions

View File

@ -107,7 +107,7 @@ pub fn (mut ctx Context) run() ? {
init_called = true
}
if sleep_len > 0 {
time.usleep(sleep_len)
time.wait(sleep_len * time.microsecond)
}
if !ctx.paused {
sw.restart()