浏览代码

fixed incorrect merge

release/3.x.x
Eggers Jan 7 年前
父节点
当前提交
196a325f7f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      MQTTnet.Core/Client/MqttPacketDispatcher.cs

+ 2
- 2
MQTTnet.Core/Client/MqttPacketDispatcher.cs 查看文件

@@ -44,13 +44,13 @@ namespace MQTTnet.Core.Client
{
if (_packetByIdentifier.TryRemove(withIdentifier.PacketIdentifier, out var tcs))
{
packetAwaiter.TrySetResult(packet);
tcs.TrySetResult(packet);
packetDispatched = true;
}
}
else if (_packetByResponseType.TryRemove(packet.GetType(), out var tcs) )
{
tcs.SetResult(packet);
tcs.TrySetResult( packet);
packetDispatched = true;
}



正在加载...
取消
保存