fixed invalid operation exception

This commit is contained in:
JanEggers
2017-09-10 13:56:35 +02:00
parent 6b1a6c054e
commit 6c8f85afe9
+1 -1
View File
@@ -41,7 +41,7 @@ namespace MQTTnet.Core.Client
{
if (packetAwaiter.PacketSelector(packet))
{
packetAwaiter.SetResult(packet);
packetAwaiter.TrySetResult(packet);
packetDispatched = true;
break;
}