From d3e8ad9e7e37df7d8ab23dbfaa6e71c8e7c5dc01 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Fri, 12 Aug 2022 10:56:11 +0200 Subject: [PATCH] Fix keeper-bench in case of error during scheduling a thread Signed-off-by: Azat Khuzhin --- utils/keeper-bench/Runner.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/keeper-bench/Runner.cpp b/utils/keeper-bench/Runner.cpp index e89670c4ec3..b43ad62bc5b 100644 --- a/utils/keeper-bench/Runner.cpp +++ b/utils/keeper-bench/Runner.cpp @@ -167,6 +167,7 @@ void Runner::runBenchmark() } catch (...) { + shutdown = true; pool.wait(); throw; }