[mythtv-commits] mythtv commit: r13100 by paulh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Mar 21 13:37:14 UTC 2007


      Author: paulh
        Date: 2007-03-21 13:37:14 +0000 (Wed, 21 Mar 2007)
New Revision: 13100
   Changeset: http://cvs.mythtv.org/trac/changeset/13100

Modified:

   trunk/mythtv/programs/mythbackend/scheduler.cpp

Log:

Fix a problem with the current shutdown code in the scheduler where if for
some reason ShutdownServer() fails it gets into a limbo state and never 
recovers.

It will now wait for 60 seconds for the shutdown to complete and if it doesn't
puts a warning in the log, resets the idle time and the shut down flag so
the shutdown sequence will start again from the beginning.

It also adds some additional debugging to help to see what's going on during
the shutdown sequence.

Fixes #2670.




More information about the mythtv-commits mailing list