ci: fix a deprecation time.sleep warning in `clipboard`

pull/8896/head
Delyan Angelov 2021-02-22 09:00:30 +02:00
parent 9ab291319c
commit da05c7ed1a
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ fn (cb &Clipboard) get_clipboard_lock() bool {
} else if last_error != u32(C.ERROR_ACCESS_DENIED) {
return false
}
time.sleep(cb.retry_delay)
time.wait(cb.retry_delay * time.second)
}
C.SetLastError(last_error)
return false