diff options
| author | Richard Torhan <richard.torhan@windowslive.com> | 2025-11-27 18:11:05 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2026-01-14 18:55:47 +0100 |
| commit | 50dcec1ff5b2f3e5af83536aa390809e8bcae9ab (patch) | |
| tree | 556c4ed0dec80cad6e41761e7fa773f953678b78 /Emby.Server.Implementations | |
| parent | d089537bca2a6998cd132122901fcf198d67d89e (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
Diffstat (limited to 'Emby.Server.Implementations')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 2 |
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); |
