Skip to content

Commit

Permalink
Fix the detection of mythlogserver running
Browse files Browse the repository at this point in the history
You gotta actually process events to receive signals.  Duh.
  • Loading branch information
Beirdo committed Apr 26, 2012
1 parent 0dfdee4 commit 38da9df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythbase/logging.cpp
Expand Up @@ -283,7 +283,8 @@ void LoggerThread::run(void)
m_initialWaiting = true;
m_zmqSocket->sendMessage(QByteArray(""));

msleep(100); // wait up to 100ms for mythlogserver to respond
// wait up to 100ms for mythlogserver to respond
qApp->processEvents(QEventLoop::WaitForMoreEvents, 100);
if (m_initialWaiting && !locallogs)
{
// Got no response from mythlogserver, let's assume it's dead and
Expand Down

0 comments on commit 38da9df

Please sign in to comment.