mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 11:03:07 +08:00
Don't cancel token before stop session manager
This commit is contained in:
@@ -120,10 +120,10 @@ namespace MQTTnet.Server
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_cancellationTokenSource.Cancel(false);
|
|
||||||
|
|
||||||
_clientSessionsManager.Stop();
|
_clientSessionsManager.Stop();
|
||||||
|
|
||||||
|
_cancellationTokenSource.Cancel(false);
|
||||||
|
|
||||||
foreach (var adapter in _adapters)
|
foreach (var adapter in _adapters)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user