stopTimer static method

void stopTimer()

Implementation

static void stopTimer() {
  if (_timer == null) return;
  UnitRCLog.info("stop timer");
  _timer?.cancel();
  _timer = null;
}