mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
eitd/sectionsd.cpp: fix busywait loop after service stop
Origin commit data
------------------
Commit: c4a8d40853
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-12-05 (Fri, 05 Dec 2014)
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