mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
eitd/sectionsd.cpp: fix busywait loop after service stop
This commit is contained in:
@@ -283,6 +283,7 @@ int DMX::getSection(uint8_t *buf, const unsigned timeoutInMSeconds, int &timeout
|
||||
lock();
|
||||
if (!isOpen()) {
|
||||
unlock();
|
||||
timeouts = -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user