Also cleanup MqttClientSessionsManager._subscriberSessions when session is taken over by a new one with CleanSession=true, fix #1552 (#1553)

This commit is contained in:
SilverFox
2022-11-06 10:35:15 +01:00
committed by GitHub
parent 2842f27522
commit 5b1cc7d713
2 changed files with 9 additions and 3 deletions
@@ -90,7 +90,7 @@ namespace MQTTnet.Tests.Internal
Assert.IsTrue(stopwatch.ElapsedMilliseconds > 900);
}
}
[TestMethod]
[ExpectedException(typeof(InvalidOperationException))]
public async Task Fail_For_Two_Waiters()