*<Null safety>*
void closeHandles ()
Attempts to close all stored handles, ignoring any errors.
Implementation
void closeHandles() {
for (final handle in handles) {
try {
handle.close();
// ignore: avoid_catches_without_on_clauses
} catch (e) {
// best effort
}
}
}