diff --git a/test/cctest/test_environment.cc b/test/cctest/test_environment.cc index a7579ac1167151..79bfbf50b45c03 100644 --- a/test/cctest/test_environment.cc +++ b/test/cctest/test_environment.cc @@ -42,6 +42,7 @@ class EnvironmentTest : public NodeTestFixture { ~Env() { FreeIsolateData(isolate_data_); + environment_->CleanupHandles(); FreeEnvironment(environment_); }