lib/journeta/common/shutdown.rb in journeta-1.0.1 vs lib/journeta/common/shutdown.rb in journeta-1.1.0

- old
+ new

@@ -1,21 +1,21 @@ module Journeta - + module Common - + module Shutdown - + def stop_on_shutdown(engine) bye = Proc.new { engine.stop exit 0 } - Signal::trap("HUP", bye) - Signal::trap("INT", bye) - Signal::trap("KILL", bye) + Signal.trap("HUP", bye) + Signal.trap("INT", bye) + # Signal.trap("KILL", bye) end - + end - + end - -end \ No newline at end of file + +end