lib/nesser.rb
##
# Kill the listener thread (once this is called, the class instance is
# worthless).
##
Kill the listener thread (once this is called, the class instance is
worthless).
Kill the listener thread ( once this is called the class instance is worthless ) .
def stop()
      if(@thread.nil?)
        @logger.error("Tried to stop a listener that wasn't listening!")
        return
      end
      @thread.kill()
      @thread = nil
    end
def stop ( ) if ( @thread . nil? ) @logger . error ( "Tried to stop a listener that wasn't listening!" ) return end @thread . kill ( ) @thread = nil end
Kill the listener thread (once this is called, the class instance is
worthless).
Kill the listener thread ( once this is called the class instance is worthless ) .