Fix references. Fix certificate handing issue

This commit is contained in:
Christian Kratky
2017-11-11 13:17:54 +01:00
parent 9692ae5617
commit 3625363fcf
5 changed files with 18 additions and 10 deletions
@@ -28,6 +28,11 @@ namespace MQTTnet.Core.Server
{
if (adapter == null) throw new ArgumentNullException(nameof(adapter));
if (cancellationToken.IsCancellationRequested)
{
return;
}
Task.Run(async () => await SendPendingPublishPacketsAsync(adapter, cancellationToken), cancellationToken).ConfigureAwait(false);
}