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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
Source/MQTTnet/Adapter/MqttChannelAdapter.cs
|
|
@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter |
|
|
|
_isDisposed = true; |
|
|
|
|
|
|
|
_channel?.Dispose(); |
|
|
|
_writerSemaphore?.Dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
private void ThrowIfDisposed() |
|
|
|