module Pakyow::Behavior::Restarting
Public Instance Methods
respawn()
click to toggle source
# File lib/pakyow/behavior/restarting.rb, line 43 def respawn # Set the respawn flag and stop the process manager. # Pakyow will check the flag and respawn from the main thread. # @respawn = true @bound_endpoint.close @process_manager.stop end