瀏覽代碼

DIspose semaphore in MqttChannelAdapter

release/3.x.x
Andrei Mikhalevich 4 年之前
父節點
當前提交
e7fa465616
共有 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…
取消
儲存