aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Torhan <richard.torhan@windowslive.com>2025-11-27 18:11:05 +0100
committerBond_009 <bond.009@outlook.com>2026-01-14 18:55:47 +0100
commit50dcec1ff5b2f3e5af83536aa390809e8bcae9ab (patch)
tree556c4ed0dec80cad6e41761e7fa773f953678b78
parentd089537bca2a6998cd132122901fcf198d67d89e (diff)
Fix error CA2016: Forward the 'cancellationToken' parameter to the 'ExtractToDirectoryAsync' method or pass in 'CancellationToken.None' explicitly to indicate intentionally not propagating the token
-rw-r--r--Emby.Server.Implementations/Updates/InstallationManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs
index 6e85cfd77..67b77a112 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);