Merge branch '3.3.x'

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

View File

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