Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* Handles Jetty graceful shutdown.
*
* @author Andy Wilkinson
* @author Onur Kagan Ozcan
*/
final class GracefulShutdown {

Expand Down Expand Up @@ -99,7 +100,6 @@ private void awaitShutdown(GracefulShutdownCallback callback) {
while (this.shuttingDown && this.activeRequests.get() > 0) {
sleep(100);
}
System.out.println(this.activeRequests.get());
this.shuttingDown = false;
long activeRequests = this.activeRequests.get();
if (activeRequests == 0) {
Expand Down