Skip to content

Commit

Permalink
fix tests 2, --filter=[unit]
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Dec 6, 2024
1 parent 62d47da commit 17c22e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/process_pool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ void ProcessPool::stop(Worker *worker) {
}

if (onWorkerExit) {
reactor->set_end_callback(Reactor::PRIORITY_TRY_EXIT, [&](Reactor *reactor) {
reactor->set_end_callback(Reactor::PRIORITY_TRY_EXIT, [this, worker](Reactor *reactor) {
onWorkerExit(this, worker);

Check warning on line 439 in src/os/process_pool.cc

View check run for this annotation

Codecov / codecov/patch

src/os/process_pool.cc#L438-L439

Added lines #L438 - L439 were not covered by tests
if (reactor->if_exit()) {
reactor->running = false;

Check warning on line 441 in src/os/process_pool.cc

View check run for this annotation

Codecov / codecov/patch

src/os/process_pool.cc#L441

Added line #L441 was not covered by tests
Expand Down

0 comments on commit 17c22e6

Please sign in to comment.