Skip to content

Commit

Permalink
FD Leaks Fix (netdata#19327)
Browse files Browse the repository at this point in the history
fix fds leak in health
  • Loading branch information
ktsaou authored Jan 7, 2025
1 parent 13e6302 commit 96bea4e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/health/health_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,11 +690,11 @@ static void health_event_loop(void) {
if(unlikely(!service_running(SERVICE_HEALTH)))
break;

// wait for all notifications to finish before allowing health to be cleaned up
wait_for_all_notifications_to_finish_before_allowing_health_to_be_cleaned_up();

health_sleep(next_run, loop);
} // forever

// wait for all notifications to finish before allowing health to be cleaned up
wait_for_all_notifications_to_finish_before_allowing_health_to_be_cleaned_up();
}


Expand Down

0 comments on commit 96bea4e

Please sign in to comment.