mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 12:39:03 +00:00
Merge branch '2.2.x' into 2.3.x
Closes gh-23743
This commit is contained in:
+1
-1
@@ -394,7 +394,6 @@ public class SpringApplication {
|
||||
}
|
||||
|
||||
private void refreshContext(ConfigurableApplicationContext context) {
|
||||
refresh((ApplicationContext) context);
|
||||
if (this.registerShutdownHook) {
|
||||
try {
|
||||
context.registerShutdownHook();
|
||||
@@ -403,6 +402,7 @@ public class SpringApplication {
|
||||
// Not allowed in some environments.
|
||||
}
|
||||
}
|
||||
refresh((ApplicationContext) context);
|
||||
}
|
||||
|
||||
private void configureHeadlessProperty() {
|
||||
|
||||
Reference in New Issue
Block a user