markRouteEpoch method

void markRouteEpoch()

Starts over at a route change or hot reload: drops the held debug types and VM issue and restarts the open VM window, so evidence from the previous screen is neither shown nor mixed into the next window.

Implementation

void markRouteEpoch() {
  _paintTimeUs = 0;
  _pendingVmWindowPercent = null;
  _pendingEnrichedDirtyTotal = 0;
  _stagedEnrichedDirtyTotal = null;
  _pendingDebugSnapshot = null;
  _windowStart = _clock();
  _clearHeld();
  _compose();
}