disposeAll static method

void disposeAll()

Removes every entry in the registry and resets the counter.

Used by tests to reset global state between test cases. Production code must call disposeGroup for ordinary lifecycle management.

Implementation

static void disposeAll() {
  _entries.clear();
  _byNodeId.clear();
  _queries.clear();
  _counter = 0;
  _queryCounter = 0;
}