Method: PM::Patch#stop

Defined in:
lib/patchmaster/patch.rb

#stopObject

Send stop_bytes to each connection, then call #stop on each connection.



34
35
36
37
38
39
# File 'lib/patchmaster/patch.rb', line 34

def stop
  if @running
    @running = false
    @connections.each { |conn| conn.stop(@stop_bytes) }
  end
end