mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-01 09:01:19 +01:00
stuck when it reachs bunchsize
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user