Method: Archipelago::Client::Base#stop!

Defined in:
lib/archipelago/client.rb

#stop!Object

Stops the service update thread for this Pirate and also unpublishes and/or stops the Jockey.



86
87
88
89
90
91
92
# File 'lib/archipelago/client.rb', line 86

def stop!
  @service_update_thread.kill if @service_update_thread
  stop_subscriptions
  unless defined?(Archipelago::Disco::MC) && @jockey && @jockey == Archipelago::Disco::MC
    @jockey.stop!
  end
end