Actually wait for running checks

refs #6841
This commit is contained in:
Alexander A. Klimov 2019-05-29 10:33:29 +02:00
parent b0cdad05c4
commit 705ab87b60
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ void CheckerComponent::Stop(bool runtimeRemoved)
double wait = 0.0;
while (GetPendingCheckables() > 0) {
while (Checkable::GetPendingChecks() > 0) {
Log(LogDebug, "CheckerComponent")
<< "Waiting for running checks (" << GetPendingCheckables()
<< "Waiting for running checks (" << Checkable::GetPendingChecks()
<< ") to finish. Waited for " << wait << " seconds now.";
Utility::Sleep(0.1);