Browse Source

* Adds `false` param to Cancel call.

release/3.x.x
Andre Crabb 6 years ago
parent
commit
400c0f05ad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/MQTTnet/Client/MqttClient.cs

+ 1
- 1
Source/MQTTnet/Client/MqttClient.cs View File

@@ -176,7 +176,7 @@ namespace MQTTnet.Client


public void Dispose() public void Dispose()
{ {
_cancellationTokenSource?.Cancel ();
_cancellationTokenSource?.Cancel (false);
_cancellationTokenSource?.Dispose(); _cancellationTokenSource?.Dispose();
_cancellationTokenSource = null; _cancellationTokenSource = null;




Loading…
Cancel
Save