From b1a58cd342b4d0737a6a45e7c9a2abec143f480a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 17 May 2018 20:38:43 +0300 Subject: [PATCH] Dont wait for the queue to drain in async flush --- include/spdlog/details/async_logger_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/async_logger_impl.h b/include/spdlog/details/async_logger_impl.h index dff67bf1..0f7a9e4a 100644 --- a/include/spdlog/details/async_logger_impl.h +++ b/include/spdlog/details/async_logger_impl.h @@ -44,7 +44,7 @@ inline spdlog::async_logger::async_logger(const std::string &logger_name, sink_p inline void spdlog::async_logger::flush() { - _async_log_helper->flush(false); + _async_log_helper->flush(false);//dont wat for the q to draing before returning from flush } // Error handler