mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-26 08:02:59 +08:00
Merge pull request #547 from vbBerni/develop
Fix Managed Client should dispose inner mqtt client #527
This commit is contained in:
@@ -64,9 +64,9 @@ namespace MQTTnet.Tests
|
||||
}
|
||||
finally
|
||||
{
|
||||
MqttNetGlobalLogger.LogMessagePublished -= globalLog;
|
||||
|
||||
await managedClient.StopAsync();
|
||||
|
||||
MqttNetGlobalLogger.LogMessagePublished -= globalLog;
|
||||
}
|
||||
|
||||
Assert.IsFalse(invalidLogIdOccured);
|
||||
|
||||
Reference in New Issue
Block a user