pause method

void pause()

Pause the timer (no-op if it is already paused).

Implementation

void pause() {
  _running = false;
}