eitd/sectionsd.cpp: fix busywait loop after service stop

This commit is contained in:
[CST] Focus
2014-12-05 14:44:03 +03:00
parent e21a79195e
commit c4a8d40853
2 changed files with 2 additions and 0 deletions

View File

@@ -283,6 +283,7 @@ int DMX::getSection(uint8_t *buf, const unsigned timeoutInMSeconds, int &timeout
lock();
if (!isOpen()) {
unlock();
timeouts = -1;
return -1;
}