mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-10-31 02:27:18 -04:00 
			
		
		
		
	
						commit
						ead257c392
					
				| @ -134,18 +134,11 @@ namespace Emby.Server.Implementations.Logging | ||||
|             { | ||||
|                 try | ||||
|                 { | ||||
|                     var any = false; | ||||
| 
 | ||||
|                     foreach (var message in _queue.GetConsumingEnumerable()) | ||||
|                     { | ||||
|                         var bytes = Encoding.UTF8.GetBytes(message + Environment.NewLine); | ||||
|                         _fileStream.Write(bytes, 0, bytes.Length); | ||||
| 
 | ||||
|                         any = true; | ||||
|                     } | ||||
| 
 | ||||
|                     if (any) | ||||
|                     { | ||||
|                         _fileStream.Flush(true); | ||||
|                     } | ||||
|                 } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user