class Async::Debug::Selector
def close
def close if @monitors.any? raise RuntimeError, "Trying to close selector with active monitors: #{@monitors.values.inspect}!" end ensure @selector.close end
def close if @monitors.any? raise RuntimeError, "Trying to close selector with active monitors: #{@monitors.values.inspect}!" end ensure @selector.close end