mirror of
https://github.com/OPCFoundation/UA-.NETStandard.git
synced 2026-10-21 17:16:16 +08:00
reduce usage of Task.Run
build debugType portable
This commit is contained in:
@@ -80,8 +80,7 @@ namespace NetCoreConsoleServer
|
||||
|
||||
try
|
||||
{
|
||||
Task t = ConsoleSampleServer();
|
||||
t.Wait();
|
||||
ConsoleSampleServer().Wait();
|
||||
Console.WriteLine("Server started. Press any key to exit...");
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user