tkobayas commented on issue #6554:
URL: 
https://github.com/apache/incubator-kie-drools/issues/6554#issuecomment-3787853378

   Hi @QiuYucheng2003  , thank you for reporting.
   
   You can get the `ExecutorHolder.executor` by 
`ExecutorProviderFactory.getExecutorProvider().getExecutor()`. Then, call 
`shutdown()` for the executor. (No need of the linked pull request fix)
   e.g.
   ```
   ExecutorProviderFactory.getExecutorProvider().getExecutor().shutdown();
   ```
   You can call it in `ServletContextListener.contextDestroyed()` to avoid the 
ClassLoader leak.
   
   Am I misunderstanding your concern? Feel free to share your thoughts on this.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to