# File lib/core/listener.rb, line 69 def close(error=nil) return if closed? || @closing @closing = true @condition ||= Condition.convert error @io.close_read rescue nil # Force Container IO.select to wake with listener readable. nil end