Merge branch '3.2.x'

Closes gh-39365
This commit is contained in:
Moritz Halbritter 2024-02-01 08:56:21 +01:00
commit c0de2ba913
1 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,7 @@ import org.springframework.util.ReflectionUtils;
* Handles Jetty graceful shutdown. * Handles Jetty graceful shutdown.
* *
* @author Andy Wilkinson * @author Andy Wilkinson
* @author Onur Kagan Ozcan
*/ */
final class GracefulShutdown { final class GracefulShutdown {
@ -99,7 +100,6 @@ final class GracefulShutdown {
while (this.shuttingDown && this.activeRequests.get() > 0) { while (this.shuttingDown && this.activeRequests.get() > 0) {
sleep(100); sleep(100);
} }
System.out.println(this.activeRequests.get());
this.shuttingDown = false; this.shuttingDown = false;
long activeRequests = this.activeRequests.get(); long activeRequests = this.activeRequests.get();
if (activeRequests == 0) { if (activeRequests == 0) {