Skip to content

src: shutdown libuv before exit()

Rodrigo Muino Tomonari requested to merge github/fork/addaleax/uv-shutdown into master

This ensures that no operations will be running on the libuv threadpool, which is important because they may run into race conditions with the global destructors being triggered from exit(), such as in the added test example here.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading