resetShutdownState function

void resetShutdownState()

Reset shutdown state — only for use in tests.

Implementation

void resetShutdownState() {
  _shutdownInProgress = false;
  _resumeHintPrinted = false;
  _failsafeTimer?.cancel();
  _failsafeTimer = null;
}