ChimdumebiNebolisa commented on issue #25153:
URL: https://github.com/apache/pulsar/issues/25153#issuecomment-3759668263

   I added a regression test on branch `fix-25153-loadsim-executor` that 
demonstrates the leak behavior described in this issue.
   
   The test uses reflection to access the private static `threadPool`, submits 
a task to force thread creation, and then verifies that a non-daemon executor 
thread remains alive, which matches the reported thread leak / JVM shutdown 
risk in embedded scenarios.
   
   Next I will push a follow-up commit that makes the executor instance-scoped 
and adds an explicit shutdown/close path, then update the test to assert no 
leaked threads after close.


-- 
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]

Reply via email to