瀏覽代碼

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()


Loading…
取消
儲存