clear method

void clear()

Clears all checkpoint/rewind state (e.g. when the host resets the session).

Implementation

void clear() {
  _active = null;
  _lastCompleted = null;
  _checkpointPending = false;
  _pendingGoal = null;
  _pendingReport = null;
  _contextSwapPending = false;
}