Merge branch '2.2.x' into 2.3.x
Closes gh-23743
This commit is contained in:
@@ -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