瀏覽代碼

Fix null ref in server when using interceptor

release/3.x.x
Christian 6 年之前
父節點
當前提交
56acc82445
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs

+ 1
- 1
Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs 查看文件

@@ -227,7 +227,7 @@ namespace MQTTnet.Server
}

var interceptorContext = new MqttApplicationMessageInterceptorContext(
senderClientSession.ClientId,
senderClientSession?.ClientId,
applicationMessage);

interceptor(interceptorContext);


Loading…
取消
儲存