Pārlūkot izejas kodu

Follow-Up: Add missing ConfigureAwait() call.

release/3.x.x
kpreisser pirms 6 gadiem
vecāks
revīzija
bb697e1bd9
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Adapter/MqttChannelAdapter.cs

+ 1
- 1
Frameworks/MQTTnet.NetStandard/Adapter/MqttChannelAdapter.cs Parādīt failu

@@ -120,7 +120,7 @@ namespace MQTTnet.Adapter

private static async Task<ReceivedMqttPacket> ReceiveAsync(Stream stream, CancellationToken cancellationToken)
{
var header = await MqttPacketReader.ReadHeaderFromSourceAsync(stream, cancellationToken);
var header = await MqttPacketReader.ReadHeaderFromSourceAsync(stream, cancellationToken).ConfigureAwait(false);
if (header == null)
{
return null;


Notiek ielāde…
Atcelt
Saglabāt