Minor improvements

This commit is contained in:
Bond_009
2021-08-04 14:40:09 +02:00
parent 008c6a843e
commit f1f72c3060
15 changed files with 24 additions and 101 deletions

View File

@@ -40,7 +40,7 @@ namespace MediaBrowser.Common.Extensions
// Add an event handler for the process exit event
var tcs = new TaskCompletionSource<bool>();
process.Exited += (sender, args) => tcs.TrySetResult(true);
process.Exited += (_, _) => tcs.TrySetResult(true);
// Return immediately if the process has already exited
if (process.HasExitedSafe())