mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: time.wait() => time.sleep()
This commit is contained in:
@@ -73,7 +73,7 @@ fn (cb &Clipboard) get_clipboard_lock() bool {
|
||||
} else if last_error != u32(C.ERROR_ACCESS_DENIED) {
|
||||
return false
|
||||
}
|
||||
time.wait(cb.retry_delay * time.second)
|
||||
time.sleep(cb.retry_delay * time.second)
|
||||
}
|
||||
C.SetLastError(last_error)
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user