From 4608930a37fdda17bffe994be00e3afac81f2385 Mon Sep 17 00:00:00 2001 From: Stefan Ossendorf Date: Sun, 8 Nov 2020 14:31:01 +0100 Subject: [PATCH] Cancellation token removed since the method does not support it Cancellation token removed because the SendAsync() method does not support it. --- Source/MQTTnet/Server/MqttClientConnection.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet/Server/MqttClientConnection.cs b/Source/MQTTnet/Server/MqttClientConnection.cs index cd304956..23b22257 100644 --- a/Source/MQTTnet/Server/MqttClientConnection.cs +++ b/Source/MQTTnet/Server/MqttClientConnection.cs @@ -456,7 +456,7 @@ namespace MQTTnet.Server { PacketIdentifier = publishPacket.PacketIdentifier, ReasonCode = MqttPubRelReasonCode.Success - }, cancellationToken).ConfigureAwait(false); + }).ConfigureAwait(false); await awaiter2.WaitOneAsync(_serverOptions.DefaultCommunicationTimeout).ConfigureAwait(false); }