mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 17:23:04 +08:00
* Adds false param to Cancel call.
This commit is contained in:
@@ -176,7 +176,7 @@ namespace MQTTnet.Client
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_cancellationTokenSource?.Cancel ();
|
||||
_cancellationTokenSource?.Cancel (false);
|
||||
_cancellationTokenSource?.Dispose();
|
||||
_cancellationTokenSource = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user