Commit a9149c6d authored by gabime's avatar gabime

added lock on flush in base_sink

parent 859b7f1d
......@@ -38,6 +38,7 @@ public:
}
void flush() SPDLOG_FINAL override
{
std::lock_guard<Mutex> lock(_mutex);
_flush();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment