浏览代码

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
父节点
当前提交
160da00f55
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      Source/MQTTnet/Adapter/MqttChannelAdapter.cs

+ 1
- 0
Source/MQTTnet/Adapter/MqttChannelAdapter.cs 查看文件

@@ -274,6 +274,7 @@ namespace MQTTnet.Adapter
_isDisposed = true;

_channel?.Dispose();
_writerSemaphore?.Dispose();
}

private void ThrowIfDisposed()


正在加载...
取消
保存