From b74c937d62f127edbcba6b8864a81ea503e72107 Mon Sep 17 00:00:00 2001 From: EonaCat Date: Tue, 14 Feb 2023 15:57:35 +0100 Subject: [PATCH] Updated --- EonaCat.DnsTester/MainForm.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/EonaCat.DnsTester/MainForm.cs b/EonaCat.DnsTester/MainForm.cs index ff580ab..0f65290 100644 --- a/EonaCat.DnsTester/MainForm.cs +++ b/EonaCat.DnsTester/MainForm.cs @@ -86,13 +86,9 @@ namespace EonaCat.DnsTester return; } - Task.Run(() => - { - IsRunning = true; - CheckDNS(CleanNames, CleanNamesCount, DNS1, DNS2); - IsRunning = false; - }); - + IsRunning = true; + CheckDNS(CleanNames, CleanNamesCount, DNS1, DNS2); + IsRunning = false; }