ParallelScanner may be null

This commit is contained in:
Carl Johnsen
2026-02-27 15:36:03 +01:00
parent 9d77275318
commit 1ad2344e99
@@ -848,8 +848,9 @@ namespace Duplicati.Library.Main.Operation
try
{
// Await the scanner as it m
await parallelScanner.ConfigureAwait(false);
// Await the scanner as it may still be running
if (parallelScanner != null)
await parallelScanner.ConfigureAwait(false);
}
catch (OperationCanceledException)
{