win,loop: add missing uv_update_time (#3175)

Time of loop should be updated after the IOCP wait.
This commit is contained in:
twosee 2022-02-15 00:40:42 +08:00 committed by GitHub
parent 722d003076
commit 0209466496
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -631,6 +631,7 @@ int uv_run(uv_loop_t *loop, uv_run_mode mode) {
* UV_RUN_NOWAIT makes no guarantees about progress so it's omitted from
* the check.
*/
uv_update_time(loop);
uv__run_timers(loop);
}