diff --git a/src/env.cc b/src/env.cc index 0087f719dc00db..5bd75abab34512 100644 --- a/src/env.cc +++ b/src/env.cc @@ -76,6 +76,10 @@ void Environment::Start(int argc, reinterpret_cast(&idle_check_handle_), close_and_finish, nullptr); + RegisterHandleCleanup( + reinterpret_cast(&destroy_ids_timer_handle_), + close_and_finish, + nullptr); if (start_profiler_idle_notifier) { StartProfilerIdleNotifier();