浏览代码
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
找不到此签名对应的密钥
GPG 密钥 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() |
|
|
|