Skip to content

Commit 773d76e

Browse files
cjihrigcodebytere
authored andcommitted
deps: uvwasi: cherry-pick 9e75217
Original commit message: poll_oneoff: add missing uv_run() in cleanup This allows ASAN to pass. PR-URL: #33521 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
1 parent 7e351f1 commit 773d76e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/uvwasi/src/poll_oneoff.c

+2
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ uvwasi_errno_t uvwasi__poll_oneoff_state_cleanup(
114114
for (i = 0; i < state->handle_cnt; i++)
115115
uv_close((uv_handle_t*) &state->poll_handles[i], NULL);
116116

117+
uv_run(&state->loop, UV_RUN_NOWAIT);
118+
117119
state->max_fds = 0;
118120
state->fdevent_cnt = 0;
119121
state->handle_cnt = 0;

0 commit comments

Comments
 (0)