Fix libc-wasi/uvwasi poll/environ_get issues (#1300)

Fix libc-wasi poll_oneoff hang issue
Fix libc-uvwasi environ_get sanity check issue
This commit is contained in:
Wenyong Huang
2022-07-20 20:02:26 +08:00
committed by GitHub
parent 1ee0d90d81
commit d955aa1bcc
2 changed files with 4 additions and 1 deletions

View File

@ -2595,7 +2595,7 @@ wasmtime_ssp_poll_oneoff(
timeout = ts > INT_MAX ? -1 : (int)ts;
}
else {
timeout = -1;
timeout = 1000;
}
int ret = poll(pfds, nsubscriptions, timeout);