mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
added lock on flush in base_sink
This commit is contained in:
parent
859b7f1d58
commit
a9149c6d46
@ -38,6 +38,7 @@ public:
|
||||
}
|
||||
void flush() SPDLOG_FINAL override
|
||||
{
|
||||
std::lock_guard<Mutex> lock(_mutex);
|
||||
_flush();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user