event/TimerEvent: rename IsActive() to IsPending()
This commit is contained in:
@@ -148,7 +148,7 @@ try {
|
||||
void
|
||||
StateFile::CheckModified() noexcept
|
||||
{
|
||||
if (!timer_event.IsActive() && IsModified())
|
||||
if (!timer_event.IsPending() && IsModified())
|
||||
timer_event.Schedule(config.interval);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user