mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-22 04:43:04 +08:00
Fix null ref exception in low level client.
This commit is contained in:
@@ -48,7 +48,7 @@ namespace MQTTnet.LowLevelClient
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
_adapter.Dispose();
|
||||
_adapter?.Dispose();
|
||||
throw;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user