I needed a way of completely shutting down all threads after Lift's servlet context is destroyed. Before, the Lift Scheduler and ActorPinger threads would continue running because they would be continually rescheduled and the relevant Executors restarted. I added a method into Schedule and LAPinger to 'shutdownFully' which meant to not allow the executor to be rescheduled. This I call from unloadHooks.
Add a way to avoid restarting of Executors after 'shutdownFully' is c…
This was discussed here: https://groups.google.com/forum/?fromgroups#!topic/liftweb/mLiWRSmppvk%5B1-25%5D
I didn't get a positive response to create this issue in GitHub, but then I didn't get any kind of response. I don't necessarily expect my solution to be used (there's probably something wrong with it) but I hope this helps someone else in the same situation.
Apologies, I didn't realise pull requests weren't accepted. Still, I hope this sticks around if anyone else has the problem.