mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-16 01:03:01 +08:00
fixed invalid operation exception
This commit is contained in:
@@ -41,7 +41,7 @@ namespace MQTTnet.Core.Client
|
||||
{
|
||||
if (packetAwaiter.PacketSelector(packet))
|
||||
{
|
||||
packetAwaiter.SetResult(packet);
|
||||
packetAwaiter.TrySetResult(packet);
|
||||
packetDispatched = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user