release method

bool release(
  1. MutationKey key
)

Implementation

bool release(MutationKey key) {
  int? count = _retainCount[key];
  if (count == null) {
    return false;
  }
  if (count > 1) {
    _retainCount[key] = count - 1;
    return false;
  }
  return close(key);
}