Method: Forward::Common#stop_reactor_and_exit
- Defined in:
- lib/forward/common.rb
#stop_reactor_and_exit(code = 0) ⇒ Object
31 32 33 34 |
# File 'lib/forward/common.rb', line 31 def stop_reactor_and_exit(code = 0) EM.stop if EM.reactor_running? exit(code) end |