worker: spin uv_run twice before closing loop
On Windows, the Platform’s uv_async_t
may need two iterations
before closing when it was previously in use.
Refs: https://github.com/nodejs/node/pull/26089 Refs: https://github.com/nodejs/node/pull/26006
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines