Merge branch '3.2.x' into 3.3.x

This commit is contained in:
Phillip Webb 2024-06-25 22:16:10 -07:00
commit 26ea4f9fb1

View File

@ -187,7 +187,7 @@ class TestcontainersLifecycleOrderWithScopeIntegrationTests {
return null; return null;
} }
public void destroy() { void destroy() {
synchronized (this) { synchronized (this) {
this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run)); this.destructors.forEach((name, actions) -> actions.forEach(Runnable::run));
this.destructors.clear(); this.destructors.clear();