The Free Software Media System - Server Backend & API
Fix error CA2016: Forward the 'cancellationToken' parameter to the 'ExtractToDirectoryAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token
Richard Torhan50dcec1ff5b2
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.csindex 6e85cfd774..67b77a112d 100644--- a/Emby.Server.Implementations/Updates/InstallationManager.cs+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs@@ -562,7 +562,7 @@ namespace Emby.Server.Implementations.Updates}stream.Position = 0;- await ZipFile.ExtractToDirectoryAsync(stream, targetDir, true);+ await ZipFile.ExtractToDirectoryAsync(stream, targetDir, true, cancellationToken);// Ensure we create one or populate existing ones with missing data.await _pluginManager.PopulateManifest(package.PackageInfo, package.Version, targetDir, status).ConfigureAwait(false);