mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Update CountDownLatch for non-pauseable beans
See gh-35269
This commit is contained in:
+4
@@ -485,6 +485,10 @@ public class DefaultLifecycleProcessor implements LifecycleProcessor, BeanFactor
|
||||
}
|
||||
});
|
||||
}
|
||||
else {
|
||||
// Don't wait for beans that aren't pauseable...
|
||||
latch.countDown();
|
||||
}
|
||||
}
|
||||
else if (!pauseableOnly) {
|
||||
if (logger.isTraceEnabled()) {
|
||||
|
||||
Reference in New Issue
Block a user