close method

  1. @override
void close()
override

Implementation

@override
void close() {
  _dropClient();
  _snapshots.clear();
  _defaultBranches.clear();
  _authorities.clear();
  // `_emptyRepos` was missing here, which is the shape a fourth cache added
  // to a list of three takes: every other site that touches the group was
  // updated and this one was not.
  _emptyRepos.clear();
  _hydrated.clear();
}