mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
Fixed: OsInfo for real this time.
This commit is contained in:
parent
6cf257ac01
commit
5f139c0cb6
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ public GzipCompressionPipeline(Logger logger)
|
|||
_logger = logger;
|
||||
|
||||
// On Mono GZipStream/DeflateStream leaks memory if an exception is thrown, use an intermediate buffer in that case.
|
||||
_writeGZipStream = PlatformInfo.IsMono ? WriteGZipStreamMono : (Action<Action<Stream>, Stream>)WriteGZipStream;
|
||||
_writeGZipStream = OsInfo.IsMonoRuntime ? WriteGZipStreamMono : (Action<Action<Stream>, Stream>)WriteGZipStream;
|
||||
}
|
||||
|
||||
public void Register(IPipelines pipelines)
|
||||
|
|
Loading…
Reference in a new issue