Method: Thin::Backends::Base#stop
- Defined in:
- lib/thin/backends/base.rb
#stop ⇒ Object
Stop of the backend from accepting new connections.
66 67 68 69 70 71 72 73 |
# File 'lib/thin/backends/base.rb', line 66 def stop @running = false @stopping = true # Do not accept anymore connection disconnect stop! if @connections.empty? end |