isTimerRunning() on HighResolutionTimer can return true before timer started

#1

Hi,

bool HighResolutionTimer::isTimerRunning() const noexcept { return pimpl->periodMs != 0; }

periodMs appears to be uninitialised so this can return true when no call to startTimer() has been made.

thx

1 Like

#2

Thanks, I’ll get that sorted out.

0 Likes