Skip to content

Add a way to avoid restarting of Executors after 'shutdownFully' is call... #1306

Closed
wants to merge 1 commit into from

1 participant

@gravelld

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.

@gravelld

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.

@gravelld gravelld closed this Aug 15, 2012
@gravelld

Apologies, I didn't realise pull requests weren't accepted. Still, I hope this sticks around if anyone else has the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.