Skip to content

Commit

Permalink
Make the idle timeout independent of scheduler runs
Browse files Browse the repository at this point in the history
As the scheduler runs every other minute when the EIT scanner is
enabled you end up with never being idle, thus breaking shutdown
when idle.

As discussed on IRC at
http://irc.mythtv.org/ircLog/channel/4/2013-03-14:18:52:00

Refs: #11399
  • Loading branch information
dekarl committed Apr 24, 2013
1 parent 7554135 commit e73015b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/programs/mythbackend/scheduler.cpp
Expand Up @@ -1944,7 +1944,8 @@ void Scheduler::run(void)
{
MythEvent me("SCHEDULE_CHANGE");
gCoreContext->dispatch(me);
idleSince = QDateTime();
// a scheduler run has nothing to do with the idle shutdown
// idleSince = QDateTime();
}

// if idletimeout is 0, the user disabled the auto-shutdown feature
Expand Down

0 comments on commit e73015b

Please sign in to comment.