From 0209466496cfb62593717088a1af0cef45b2fc65 Mon Sep 17 00:00:00 2001 From: twosee Date: Tue, 15 Feb 2022 00:40:42 +0800 Subject: [PATCH] win,loop: add missing uv_update_time (#3175) Time of loop should be updated after the IOCP wait. --- src/win/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/core.c b/src/win/core.c index 68409e37..10b39da5 100644 --- a/src/win/core.c +++ b/src/win/core.c @@ -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); }