Fix warning

This commit is contained in:
Ben Olden-Cooligan 2019-07-28 11:28:20 -04:00
parent b3a3a15513
commit 64f6e301af

View File

@ -241,7 +241,7 @@ namespace NAPS2.ImportExport.Pdf
Interlocked.Increment(ref progress);
progressCallback(progress, snapshots.Count);
}
}, TaskContinuationOptions.ExecuteSynchronously);
}, TaskContinuationOptions.ExecuteSynchronously).AssertNoAwait();
// Record the page and task for step 2
ocrPairs.Add((page, ocrTask));
}