lib/puma/server.rb
# Stops the acceptor thread and then causes the worker threads to finish
# off the request queue before finally exiting.
#
Stops the acceptor thread and then causes the worker threads to finish
off the request queue before finally exiting.
Stops the acceptor thread and then causes the worker threads to finish off the request queue before finally exiting .
def stop(sync=false)
      @persistent_wakeup.close
      @notify << STOP_COMMAND
      @thread.join if @thread && sync
    end
def stop ( sync = false ) @persistent_wakeup . close @notify << STOP_COMMAND @thread . join if @thread && sync end
Stops the acceptor thread and then causes the worker threads to finish
off the request queue before finally exiting.
Stops the acceptor thread and then causes the worker threads to finish off the request queue before finally exiting .
sync