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
1 changed files with 2 additions and 0 deletions

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