Browse Source

Merge pull request #873 from andrei-m-code/bugfix/mqttnet-client-semaphore-dispose

DIspose semaphore in MqttChannelAdapter
release/3.x.x
Christian 4 years ago
committed by GitHub
parent
commit
160da00f55
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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