Pārlūkot izejas kodu

Fix null ref in server when using interceptor

release/3.x.x
Christian pirms 6 gadiem
vecāks
revīzija
56acc82445
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs

+ 1
- 1
Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs Parādīt failu

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

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

interceptor(interceptorContext);


Notiek ielāde…
Atcelt
Saglabāt