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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user