Browse Source

Refactoring

release/3.x.x
Christian 6 years ago
parent
commit
40c33ac639
3 changed files with 2 additions and 3 deletions
  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 View File

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




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

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


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


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

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


namespace MQTTnet.Server namespace MQTTnet.Server
{ {


Loading…
Cancel
Save