reduce usage of Task.Run

build debugType portable
This commit is contained in:
Martin Regen
2017-01-11 15:31:31 +01:00
parent a9958bb683
commit f8876e2f35
16 changed files with 52 additions and 94 deletions
@@ -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)