Skip to content

Commit 09ac6dc

Browse files
authored
Merge pull request #24729 from OpenLiberty/revert-24462-24461-Cleanup_non_daemon_threads_at_shutdown
Revert "Cleanup any asyncServlet non-daemon threads at the server shutdown"
2 parents 01c021e + 844e8e1 commit 09ac6dc

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

dev/com.ibm.ws.webcontainer/src/com/ibm/ws/webcontainer/osgi/WebContainer.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
import com.ibm.ws.threading.listeners.CompletionListener;
6666
import com.ibm.ws.webcontainer.SessionRegistry;
6767
import com.ibm.ws.webcontainer.async.AsyncContextFactory;
68-
import com.ibm.ws.webcontainer.async.AsyncContextImpl;
6968
import com.ibm.ws.webcontainer.collaborator.CollaboratorService;
7069
import com.ibm.ws.webcontainer.exception.WebAppHostNotFoundException;
7170
import com.ibm.ws.webcontainer.osgi.container.DeployedModule;
@@ -391,14 +390,6 @@ public void deactivate(ComponentContext componentContext) {
391390
if (TraceComponent.isAnyTracingEnabled() && tc.isEventEnabled()) {
392391
Tr.event(tc, "Deactivating the WebContainer bundle");
393392
}
394-
395-
//issue#24461
396-
if (AsyncContextImpl.executorRetrieved.get() && !AsyncContextImpl.ExecutorFieldHolder.field.isShutdown()) {
397-
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
398-
Tr.debug(tc, methodName, "shutting down now async servlet thread pool executor");
399-
}
400-
AsyncContextImpl.ExecutorFieldHolder.field.shutdownNow();
401-
}
402393

403394
if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
404395
Tr.debug(tc, methodName, "Posting STOPPED_EVENT");

0 commit comments

Comments
 (0)