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;