added lock on flush in base_sink

This commit is contained in:
gabime 2017-12-02 17:06:59 +02:00
parent 859b7f1d58
commit a9149c6d46
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public:
}
void flush() SPDLOG_FINAL override
{
std::lock_guard<Mutex> lock(_mutex);
_flush();
}