closePool method

Future<void> closePool(
  1. String poolName
)

Close a specific pool

Implementation

Future<void> closePool(String poolName) async {
  final pool = _pools.remove(poolName);
  if (pool != null) {
    await pool.close();
  }
}