mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Prior to this change, SpringApplication would register contexts to SpringApplicationShutdownHook and only deregister them when they're properly closed. A failed refresh attempt does not deregister the context from the shutdown hook. When a test suite runs lots of tests failing because of failed contexts, this can build up and consume lots of resources. This commit fixes this leak and deregisters failed contexts. Fixes gh-29874 |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-cli | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-properties-migrator | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-tools |