Details
Description
When the InactiveRepositoryDisposer thread removes an inactive pool, it should also invoke #close() operation of PoolingRepository after the removal to make sure any possible clean ups. Even though there's no remaining pooled session in the pool, EvictionTask of GenericObjectPool could stay alive and it can hold some unnecessary references.