From 80f19324bc2d4181b0f009e58e49c60a18039c18 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 30 Oct 2018 01:08:32 +0200 Subject: [PATCH] Small update to async bench --- bench/async_bench.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bench/async_bench.cpp b/bench/async_bench.cpp index 5dd18bfa..a708797a 100644 --- a/bench/async_bench.cpp +++ b/bench/async_bench.cpp @@ -94,6 +94,7 @@ int main(int argc, char *argv[]) spdlog::info("Line count OK ({:n})\n", count); } } + spdlog::shutdown(); } catch (std::exception &ex) { @@ -101,6 +102,7 @@ int main(int argc, char *argv[]) perror("Last error"); return 1; } + return 0; }