Merge pull request #40147 from azat/fix-keeper-bench

Fix keeper-bench in case of error during scheduling a thread
This commit is contained in:
Alexander Gololobov 2022-08-12 21:10:36 +02:00 committed by GitHub
commit ef6ff51b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,6 +167,7 @@ void Runner::runBenchmark()
}
catch (...)
{
shutdown = true;
pool.wait();
throw;
}