Commit 26b390bb authored by gabime's avatar gabime

removed lock from dist_sink::_flush() (moved to base_sink::flush())

parent a9149c6d
...@@ -46,7 +46,6 @@ protected: ...@@ -46,7 +46,6 @@ protected:
void _flush() override void _flush() override
{ {
std::lock_guard<Mutex> lock(base_sink<Mutex>::_mutex);
for (auto &sink : _sinks) for (auto &sink : _sinks)
sink->flush(); sink->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