tarcieri/celluloid — Issue #19: Shutdown actors gracefully at exit
Author: tarcieri
Created: 2012-01-11 04:49:42+00:00
State: open

Right now Celluloid has the Ruby VM go on an actor killing spree at shutdown. However, actors may want to take action at shutdown, such as persisting some state or informing remote actors they're shutting down in a DCell system.

Celluloid should use an at_exit handler to shut down all running actors gracefully. This can be overridden with exit! for a fast exit.

(Originally from: https://github.com/tarcieri/dcell/issues/2)