stuck when it reachs bunchsize

This commit is contained in:
2022-06-07 17:23:39 +02:00
parent 23e4dde063
commit 1cfebf667b
3 changed files with 9 additions and 7 deletions

View File

@@ -693,13 +693,15 @@ void Implementation::stopReceiver() {
while (running) {
running = false;
for (const auto &it : listener)
if (it->IsRunning())
if (it->IsRunning()) {
running = true;
LOG(logINFOBLUE) << "listener done";
//LOG(logINFOBLUE) << "listener NOT done";
}
for (const auto &it : dataProcessor)
if (it->IsRunning())
if (it->IsRunning()) {
running = true;
LOG(logINFOBLUE) << "processor done";
//LOG(logINFOBLUE) << "processor NOT done";
}
std::this_thread::sleep_for(std::chrono::milliseconds(5));
}