[mythtv-commits] Ticket #12195: mythwelcome removes startup block on shutdown

MythTV noreply at mythtv.org
Thu Feb 23 14:21:30 UTC 2017


#12195: mythwelcome removes startup block on shutdown
-------------------------------------------------+-------------------------
 Reporter:  timothymee@…                         |          Owner:
     Type:  Bug Report - General                 |         Status:  new
 Priority:  minor                                |      Milestone:  unknown
Component:  MythTV - Mythwelcome & Mythshutdown  |        Version:
                                                 |  0.27-fixes
 Severity:  medium                               |     Resolution:
 Keywords:  mythwelcome block shutdown           |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by sp4@…):

 This was bothering me too. patch:

 {{{

 diff --git a/mythtv/programs/mythbackend/scheduler.cpp
 b/mythtv/programs/mythbackend/scheduler.cpp
 index a5eb1a1..c5d7a6e 100644
 --- a/mythtv/programs/mythbackend/scheduler.cpp
 +++ b/mythtv/programs/mythbackend/scheduler.cpp
 @@ -2841,7 +2841,7 @@
      // the frontend may have connected then gone idle between scheduler
 runs
      if (blockShutdown)
      {
 -        if (m_mainServer->isClientConnected())
 +        if (m_mainServer->isClientConnected(true))
          {
              LOG(VB_GENERAL, LOG_NOTICE, "Client is connected, removing
 startup block on shutdown");
              blockShutdown = false;


 }}}

 Should I make a gihub pull request?

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12195#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list