fix: use gn/clang-format from src (#19145)
* fix: use gn/clang-format from src * fix: download clang-format in lint job * chore: fix linting warning * chore: get_path_in_buildtools => get_buildtools_executable * chore: the clang-format npm package is not used
This commit is contained in:
parent
d79e6bbffe
commit
436d5c9ac1
7 changed files with 39 additions and 26 deletions
|
@ -98,13 +98,14 @@ namespace {
|
|||
void stop_and_close_uv_loop(uv_loop_t* loop) {
|
||||
// Close any active handles
|
||||
uv_stop(loop);
|
||||
uv_walk(loop,
|
||||
[](uv_handle_t* handle, void*) {
|
||||
if (!uv_is_closing(handle)) {
|
||||
uv_close(handle, nullptr);
|
||||
}
|
||||
},
|
||||
nullptr);
|
||||
uv_walk(
|
||||
loop,
|
||||
[](uv_handle_t* handle, void*) {
|
||||
if (!uv_is_closing(handle)) {
|
||||
uv_close(handle, nullptr);
|
||||
}
|
||||
},
|
||||
nullptr);
|
||||
|
||||
// Run the loop to let it finish all the closing handles
|
||||
// NB: after uv_stop(), uv_run(UV_RUN_DEFAULT) returns 0 when that's done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue