Selaa lähdekoodia
Merge pull request #873 from andrei-m-code/bugfix/mqttnet-client-semaphore-dispose
DIspose semaphore in MqttChannelAdapter
release/3.x.x
Christian
4 vuotta sitten
committed by
GitHub
vanhempi
commit
160da00f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa
1 lisäystä ja
0 poistoa
-
Source/MQTTnet/Adapter/MqttChannelAdapter.cs
|
|
@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter |
|
|
|
_isDisposed = true; |
|
|
|
|
|
|
|
_channel?.Dispose(); |
|
|
|
_writerSemaphore?.Dispose(); |
|
|
|
} |
|
|
|
|
|
|
|
private void ThrowIfDisposed() |
|
|
|