Bladeren bron

Follow-Up: Add missing ConfigureAwait() call.

release/3.x.x
kpreisser 6 jaren geleden
bovenliggende
commit
bb697e1bd9
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Adapter/MqttChannelAdapter.cs

+ 1
- 1
Frameworks/MQTTnet.NetStandard/Adapter/MqttChannelAdapter.cs Bestand weergeven

@@ -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;


Laden…
Annuleren
Opslaan