Wrap COM exceptions, close client connection when server stops, process retained messages from server

This commit is contained in:
Christian Kratky
2017-11-16 00:28:56 +01:00
parent b956623234
commit 8de87c8772
10 changed files with 204 additions and 228 deletions
@@ -96,7 +96,7 @@ namespace MQTTnet.Core.Server
_pendingPublishPackets.Add(packet, CancellationToken.None);
}
_session.Stop();
await _session.StopAsync();
}
}
}