disposeAllGroups method

  1. @visibleForTesting
  2. @protected
void disposeAllGroups()

Clear all InspectorService object references.

Use this method only for testing to ensure that object references from one test case do not impact other test cases.

Implementation

@visibleForTesting
@protected
void disposeAllGroups() {
  _groups.clear();
  _idToReferenceData.clear();
  _objectToId.clear();
  _nextId = 0;
}