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