mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-25 07:41:32 +08:00
Fix breaking changes.
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
|
||||||
|
namespace MQTTnet.Extensions.ManagedClient
|
||||||
|
{
|
||||||
|
public class ManagedProcessFailedEventArgs : EventArgs
|
||||||
|
{
|
||||||
|
public ManagedProcessFailedEventArgs(Exception exception)
|
||||||
|
{
|
||||||
|
Exception = exception ?? throw new ArgumentNullException(nameof(exception));
|
||||||
|
}
|
||||||
|
|
||||||
|
public Exception Exception { get; }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -146,7 +146,7 @@ namespace MQTTnet.Server
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_clientSessionsManager.Stop();
|
await _clientSessionsManager.StopAsync().ConfigureAwait(false);
|
||||||
|
|
||||||
_cancellationTokenSource.Cancel(false);
|
_cancellationTokenSource.Cancel(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user