From 3bdfe53ed37f1b8a2ee218efef7a687b1bb2816d Mon Sep 17 00:00:00 2001 From: Philipp Serr Date: Mon, 6 Jan 2025 13:40:43 +0100 Subject: [PATCH] Comment warning regarding not-awaited delay task --- EpiSource.KeePass.Ekf/UI/SmartcardOperationDialog.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/EpiSource.KeePass.Ekf/UI/SmartcardOperationDialog.cs b/EpiSource.KeePass.Ekf/UI/SmartcardOperationDialog.cs index f6fd559..455582c 100644 --- a/EpiSource.KeePass.Ekf/UI/SmartcardOperationDialog.cs +++ b/EpiSource.KeePass.Ekf/UI/SmartcardOperationDialog.cs @@ -213,9 +213,12 @@ private static async Task> DoCryptoImpl scOperationDialog.Show(activeForm), cts.Token, TaskContinuationOptions.RunContinuationsAsynchronously, TaskScheduler.FromCurrentSynchronizationContext()); +#pragma warning restore CS4014 } else { scOperationDialog.Show(activeForm); }