Skip to content

Commit 683d791

Browse files
committed
Merge branch '3.0.x' into 3.1.x
Closes gh-38178
2 parents 7611ce1 + e5c8723 commit 683d791

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatWebServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private void initialize() throws WebServerException {
134134

135135
// Unlike Jetty, all Tomcat threads are daemon threads. We create a
136136
// blocking non-daemon to stop immediate shutdown
137-
startDaemonAwaitThread();
137+
startNonDaemonAwaitThread();
138138
}
139139
catch (Exception ex) {
140140
stopSilently();
@@ -189,7 +189,7 @@ private void rethrowDeferredStartupExceptions() throws Exception {
189189
}
190190
}
191191

192-
private void startDaemonAwaitThread() {
192+
private void startNonDaemonAwaitThread() {
193193
Thread awaitThread = new Thread("container-" + (containerCounter.get())) {
194194

195195
@Override

0 commit comments

Comments
 (0)