Browse Source

fixed invalid operation exception

release/3.x.x
JanEggers 7 years ago
parent
commit
6c8f85afe9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      MQTTnet.Core/Client/MqttPacketDispatcher.cs

+ 1
- 1
MQTTnet.Core/Client/MqttPacketDispatcher.cs View File

@@ -41,7 +41,7 @@ namespace MQTTnet.Core.Client
{
if (packetAwaiter.PacketSelector(packet))
{
packetAwaiter.SetResult(packet);
packetAwaiter.TrySetResult(packet);
packetDispatched = true;
break;
}


Loading…
Cancel
Save