mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 10:36:43 +00:00
Merge pull request #6657 from Bond-009/dotnetbug
This commit is contained in:
@@ -679,7 +679,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
|
||||
if (!string.Equals(text, newText, StringComparison.Ordinal))
|
||||
{
|
||||
// use FileShare.None as this bypasses dotnet bug dotnet/runtime#42790 .
|
||||
using (var fileStream = new FileStream(file, FileMode.Create, FileAccess.Write, FileShare.None, IODefaults.FileStreamBufferSize, FileOptions.Asynchronous))
|
||||
using (var writer = new StreamWriter(fileStream, encoding))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user