LatchedStatsListener thread
mkonicek opened this issue · 2 comments
mkonicek commented
LatchedStatsListener thread is not running as daemon and therefore blocks the VM from exiting even after AdminHttpService.shutdown() has been called and the main thread has finished. This matters when running the AdminHttpService from an interactive session (such as sbt).
The workaround (or intended solution?) is to call ServiceTracker.shutdown().
ryanking commented
Calling ServiceTracker.shutdown() is our normal shutdown procedure, but this seems like it should be changed anyway.
robey commented
i'm +1 on a patch to make the thread be a daemon.