Google is committed to advancing racial equity for Black communities. See how.

closeHandles method

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
    }
  }
}