diff --git a/DnsServerApp/Program.cs b/DnsServerApp/Program.cs index 88359e8a..7e58846e 100644 --- a/DnsServerApp/Program.cs +++ b/DnsServerApp/Program.cs @@ -1,6 +1,6 @@ /* Technitium DNS Server -Copyright (C) 2023 Shreyas Zare (shreyas@technitium.com) +Copyright (C) 2024 Shreyas Zare (shreyas@technitium.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -32,8 +32,8 @@ namespace DnsServerApp if (args.Length == 1) configFolder = args[0]; - EventWaitHandle waitHandle = new ManualResetEvent(false); - EventWaitHandle exitHandle = new ManualResetEvent(false); + ManualResetEvent waitHandle = new ManualResetEvent(false); + ManualResetEvent exitHandle = new ManualResetEvent(false); DnsWebService service = null; try