Ver a proveniência

use configure await

release/3.x.x
JanEggers há 7 anos
ascendente
cometimento
5e417affa5
2 ficheiros alterados com 2 adições e 2 eliminações
  1. +1
    -1
      Frameworks/MQTTnet.NetFramework/Implementations/MqttTcpChannel.cs
  2. +1
    -1
      Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.cs

+ 1
- 1
Frameworks/MQTTnet.NetFramework/Implementations/MqttTcpChannel.cs Ver ficheiro

@@ -102,7 +102,7 @@ namespace MQTTnet.Implementations

do
{
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes);
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes).ConfigureAwait(false);

if (read == 0)
{


+ 1
- 1
Frameworks/MQTTnet.NetStandard/Implementations/MqttTcpChannel.cs Ver ficheiro

@@ -101,7 +101,7 @@ namespace MQTTnet.Implementations

do
{
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes);
var read = await _dataStream.ReadAsync(buffer, totalBytes, buffer.Length - totalBytes).ConfigureAwait(false);

if (read == 0)
{


Carregando…
Cancelar
Guardar