Skip to content

Commit

Permalink
Actually wait for running checks
Browse files Browse the repository at this point in the history
refs #6841
  • Loading branch information
Al2Klimov committed May 29, 2019
1 parent b0cdad0 commit 705ab87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/checker/checkercomponent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 705ab87

Please sign in to comment.