Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the detection of mythlogserver running

You gotta actually process events to receive signals.  Duh.
  • Loading branch information...
commit 38da9df0d68b2cc908602a4c2aef1dea1c7a3e84 1 parent 0dfdee4
@Beirdo Beirdo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mythtv/libs/libmythbase/logging.cpp
View
3  mythtv/libs/libmythbase/logging.cpp
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.