close method
Closes all connections in this pool and frees resources
Implementation
Future<void> close() async {
for (final conn in _allConnections) {
await conn.close();
}
_idleConnections.clear();
_activeConnections.clear();
}
Closes all connections in this pool and frees resources
Future<void> close() async {
for (final conn in _allConnections) {
await conn.close();
}
_idleConnections.clear();
_activeConnections.clear();
}