mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 10:59:03 +00:00
Use shutdownHandlers parameter in constructor
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ class DockerComposeListener implements ApplicationListener<ApplicationPreparedEv
|
||||
}
|
||||
|
||||
DockerComposeListener(SpringApplicationShutdownHandlers shutdownHandlers) {
|
||||
this.shutdownHandlers = SpringApplication.getShutdownHandlers();
|
||||
this.shutdownHandlers = shutdownHandlers;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user