Pārlūkot izejas kodu
Merge pull request #873 from andrei-m-code/bugfix/mqttnet-client-semaphore-dispose
DIspose semaphore in MqttChannelAdapter
release/3.x.x
Christian
pirms 4 gadiem
committed by
GitHub
vecāks
revīzija
160da00f55
Šim parakstam datu bāzē netika atrasta zināma atslēga
GPG atslēgas ID: 4AEE18F83AFDEB23
1 mainītis faili ar
1 papildinājumiem un
0 dzēšanām
-
Source/MQTTnet/Adapter/MqttChannelAdapter.cs
|
|
@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter |
|
|
|
_isDisposed = true; |
|
|
|
|
|
|
|
_channel?.Dispose(); |
|
|
|
_writerSemaphore?.Dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
private void ThrowIfDisposed() |
|
|
|