lib/vim_channels/backends/base.rb
def stop
        @running  = false
        @stopping = true

        # Do not accept any more connections
        disconnect

        # Close idle connections
        @connections.each_value { |conn| conn.close_connection if conn.idle? }
        stop! if @connections.empty?
      end
# Stop the backend from accepting any new connections.
#
# @return [void]
Stop the backend from accepting any new connections.
Stop the backend from accepting any new connections .
def stop
        @running  = false
        @stopping = true
        disconnect
        @connections.each_value { |conn| conn.close_connection if conn.idle? }
        stop! if @connections.empty?
      end
def stop @running = false @stopping = true disconnect @connections . each_value { | conn | conn . close_connection if conn . idle? } stop! if @connections . empty? end
Stop the backend from accepting any new connections.
Stop the backend from accepting any new connections .
# Do not accept any more connections # Close idle connections
None
void