diff --git a/src/env.cc b/src/env.cc index 0087f719dc00db..99c5764706f905 100644 --- a/src/env.cc +++ b/src/env.cc @@ -101,9 +101,6 @@ void Environment::CleanupHandles() { while (handle_cleanup_waiting_ != 0) uv_run(event_loop(), UV_RUN_ONCE); - - while (handle_cleanup_waiting_ != 0) - uv_run(event_loop(), UV_RUN_ONCE); } void Environment::StartProfilerIdleNotifier() {