release references to resources in pool.
This commit is contained in:
parent
598aca50af
commit
dbf7c94ef4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue