release static method

void release(
  1. String path
)

Implementation

static void release(String path) {
  final entry = _leases[path];
  if (entry == null) {
    return;
  }
  if (--entry.refcount == 0) {
    entry.lease.encryptCallable.close();
    entry.lease.decryptCallable.close();
    _leases.remove(path);
  }
}