release references to resources in pool.

This commit is contained in:
Brian J. Cardiff 2016-08-31 14:45:32 -03:00
parent 598aca50af
commit dbf7c94ef4

View file

@ -18,6 +18,8 @@ module DB
# close all resources in the pool
def close : Nil
@total.each &.close
@total.clear
@available.clear
end
def checkout : T