Refactoring

This commit is contained in:
Christian
2018-04-17 20:37:56 +02:00
parent e455ce9c78
commit ae11e31048
7 changed files with 35 additions and 40 deletions
@@ -44,7 +44,7 @@ namespace MQTTnet.TestApp.NetCore
try
{
await client.ConnectAsync(options);
await client.ConnectAsync(options).ConfigureAwait(false);
}
catch (Exception exception)
{
@@ -165,7 +165,7 @@ namespace MQTTnet.TestApp.NetCore
Console.WriteLine("Press any key to exit.");
Console.ReadLine();
await mqttServer.StopAsync();
await mqttServer.StopAsync().ConfigureAwait(false);
}
catch (Exception e)
{