Sfoglia il codice sorgente

Refactoring

release/3.x.x
Christian 6 anni fa
parent
commit
40c33ac639
3 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Client/MqttPacketDispatcher.cs
  2. +1
    -1
      Frameworks/MQTTnet.NetStandard/Internal/TaskExtensions.cs
  3. +0
    -1
      Frameworks/MQTTnet.NetStandard/Server/IMqttServerOptions.cs

+ 1
- 1
Frameworks/MQTTnet.NetStandard/Client/MqttPacketDispatcher.cs Vedi File

@@ -83,7 +83,7 @@ namespace MQTTnet.Client
{
_packetByResponseType[responseType] = tcs;
}
return tcs;
}



+ 1
- 1
Frameworks/MQTTnet.NetStandard/Internal/TaskExtensions.cs Vedi File

@@ -30,7 +30,7 @@ namespace MQTTnet.Internal

if (task.IsFaulted)
{
throw new MqttCommunicationException(task.Exception.GetBaseException());
throw new MqttCommunicationException(task.Exception?.GetBaseException());
}
}
finally


+ 0
- 1
Frameworks/MQTTnet.NetStandard/Server/IMqttServerOptions.cs Vedi File

@@ -1,5 +1,4 @@
using System;
using System.Net;

namespace MQTTnet.Server
{


Caricamento…
Annulla
Salva