浏览代码

Refactoring

release/3.x.x
Christian 6 年前
父节点
当前提交
40c33ac639
共有 3 个文件被更改,包括 2 次插入3 次删除
  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 查看文件

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



+ 1
- 1
Frameworks/MQTTnet.NetStandard/Internal/TaskExtensions.cs 查看文件

@@ -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 查看文件

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

namespace MQTTnet.Server
{


正在加载...
取消
保存