From 400c0f05adcb07b66c9f97b7a203a8b96ba6ce1b Mon Sep 17 00:00:00 2001 From: Andre Crabb Date: Fri, 28 Sep 2018 14:07:04 -0400 Subject: [PATCH] * Adds `false` param to Cancel call. --- Source/MQTTnet/Client/MqttClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet/Client/MqttClient.cs b/Source/MQTTnet/Client/MqttClient.cs index 4eb76d6..f7093eb 100644 --- a/Source/MQTTnet/Client/MqttClient.cs +++ b/Source/MQTTnet/Client/MqttClient.cs @@ -176,7 +176,7 @@ namespace MQTTnet.Client public void Dispose() { - _cancellationTokenSource?.Cancel (); + _cancellationTokenSource?.Cancel (false); _cancellationTokenSource?.Dispose(); _cancellationTokenSource = null;