lifo / cramp

Real-time web application framework in Ruby
http://cramp.in
MIT License
1.5k stars 121 forks source link

run on_finish when kill/restart server #22

Open ayamomiji opened 13 years ago

ayamomiji commented 13 years ago

I have some finalize actions in on_finish callback, but these didn't run when I kill or restart server. How can I finish all connections before kill/restart server? or there are better ways to do this?

mateuszdw commented 10 years ago

Hi, that kind of callbacks (on start server, on kill/restart server) could be very useful feature