release method

void release()

Implementation

void release() {
  if (!_acquired) return;
  try {
    _file.deleteSync();
  } on FileSystemException {
    // Cleanup must not hide the test result.
  }
  _acquired = false;
}