瀏覽代碼

Merge remote-tracking branch 'origin/develop' into develop

release/3.x.x
Christian Kratky 5 年之前
父節點
當前提交
f3ea7008e5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Source/MQTTnet/Internal/AsyncLock.cs

+ 1
- 1
Source/MQTTnet/Internal/AsyncLock.cs 查看文件

@@ -23,7 +23,7 @@ namespace MQTTnet.Internal
public Task<IDisposable> WaitAsync(CancellationToken cancellationToken)
{
var task = _semaphore.WaitAsync(cancellationToken);
if (task.IsCompleted)
if (task.Status == TaskStatus.RanToCompletion)
{
return _releaser;
}


Loading…
取消
儲存