Преглед изворни кода
Merge pull request #873 from andrei-m-code/bugfix/mqttnet-client-semaphore-dispose
DIspose semaphore in MqttChannelAdapter
release/3.x.x
Christian
пре 4 година
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са
1 додато и
0 уклоњено
-
Source/MQTTnet/Adapter/MqttChannelAdapter.cs
|
|
@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter |
|
|
|
_isDisposed = true; |
|
|
|
|
|
|
|
_channel?.Dispose(); |
|
|
|
_writerSemaphore?.Dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
private void ThrowIfDisposed() |
|
|
|