discardDebugEvidence method

void discardDebugEvidence()

Drops the held debug types, for a scan that could not run: the counts it drained are gone, and the types held from earlier scans belong to a page that may no longer be shown.

Implementation

void discardDebugEvidence() {
  _pendingDebugSnapshot = null;
  _perWidget.reset();
  _debugIssues.clear();
  _debugAllOwned = false;
  _compose();
}