Browse Source

Fix nullability errors in MediaBrowser.MediaEncoding

crobibero 4 years ago
parent
commit
e82829c444
1 changed files with 1 additions and 1 deletions
  1. 1 1
      MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs

@@ -178,7 +178,7 @@ namespace MediaBrowser.MediaEncoding.Attachments
 
                 process.Start();
 
-                var ranToCompletion = await process.WaitForExitAsync(cancellationToken).ConfigureAwait(false);
+                var ranToCompletion = await ProcessExtensions.WaitForExitAsync(process, cancellationToken).ConfigureAwait(false);
 
                 if (!ranToCompletion)
                 {