# closeHandles method | |
void closeHandles | |
() | |
<p>Attempts to close all stored handles, ignoring any errors.</p> | |
## Implementation | |
```dart | |
void closeHandles() { | |
for (final handle in handles) { | |
try { | |
handle.close(); | |
// ignore: avoid_catches_without_on_clauses | |
} catch (e) { | |
// best effort | |
} | |
} | |
} | |
``` | |