mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 10:19:03 +00:00
Add `SpringApplicationShutdownHook` to manage orderly application shutdown, specifically around the `LoggingSystem`. `SpringApplication` now offers a `getShutdownHandlers()` method that can be used to add handlers that are guaranteed to only run after the `ApplicationContext` has been closed and is inactive. Fixes gh-26660