From b83e6ee4ce04080b45c237851827142f34e33fac Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Wed, 29 Oct 2025 09:55:11 +0000 Subject: [PATCH] fix async usage --- src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.cs b/src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.cs index 12c2c579..f466d853 100644 --- a/src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.cs +++ b/src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.cs @@ -115,7 +115,7 @@ internal partial class Unpack : IRarUnpack { // TODO: When compression methods are converted to async, call them here // For now, fall back to synchronous version - DoUnpack(fileHeader.CompressionAlgorithm, fileHeader.IsSolid); + await DoUnpackAsync(fileHeader.CompressionAlgorithm, fileHeader.IsSolid, cancellationToken).ConfigureAwait(false); } }