This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
MQTTnet
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix breaking changes.
release/3.x.x
Christian Kratky
5 years ago
parent
fd91170aee
commit
cd76f434e3
2 changed files
with
15 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
Source/MQTTnet.Extensions.ManagedClient/ManagedProcessFailedEventArgs.cs
+1
-1
Source/MQTTnet/Server/MqttServer.cs
+ 14
- 0
Source/MQTTnet.Extensions.ManagedClient/ManagedProcessFailedEventArgs.cs
View File
@@ -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
Source/MQTTnet/Server/MqttServer.cs
View File
@@ -146,7 +146,7 @@ namespace MQTTnet.Server
return;
return;
}
}
_clientSessionsManager.Stop();
await
_clientSessionsManager.Stop
Async
(
).ConfigureAwait(false
);
_cancellationTokenSource.Cancel(false);
_cancellationTokenSource.Cancel(false);
Write
Preview
Loading…
Cancel
Save