removed lock from dist_sink::_flush() (moved to base_sink::flush())
This commit is contained in:
		@@ -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();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user