Fix breaking changes.

This commit is contained in:
Christian Kratky
2019-03-10 20:12:04 +01:00
parent fd91170aee
commit cd76f434e3
2 changed files with 15 additions and 1 deletions
@@ -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; }
}
}
+1 -1
View File
@@ -146,7 +146,7 @@ namespace MQTTnet.Server
return;
}
_clientSessionsManager.Stop();
await _clientSessionsManager.StopAsync().ConfigureAwait(false);
_cancellationTokenSource.Cancel(false);