class Async::Pool::Controller
def release(resource)
def release(resource) processed = false # A resource that is not good should also not be reusable. if resource.reusable? processed = reuse(resource) end ensure retire(resource) unless processed end
def release(resource) processed = false # A resource that is not good should also not be reusable. if resource.reusable? processed = reuse(resource) end ensure retire(resource) unless processed end