# File lib/net/yail.rb, line 341 def stop_listening # Kill all threads if they're really threads [@ioloop_thread, @input_processor, @privmsg_processor].each {|thread| thread.terminate if Thread === thread} # Just for safety, set everything to nil @ioloop_thread = nil @input_processor = nil @privmsg_processor = nil end