Browse Source

DIspose semaphore in MqttChannelAdapter

release/3.x.x
Andrei Mikhalevich 4 years ago
parent
commit
e7fa465616
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Source/MQTTnet/Adapter/MqttChannelAdapter.cs

+ 1
- 0
Source/MQTTnet/Adapter/MqttChannelAdapter.cs View File

@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter
_isDisposed = true;

_channel?.Dispose();
_writerSemaphore?.Dispose();
}

private void ThrowIfDisposed()


Loading…
Cancel
Save