Sfoglia il codice sorgente

Fix null ref in server when using interceptor

release/3.x.x
Christian 6 anni fa
parent
commit
56acc82445
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs

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

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

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

interceptor(interceptorContext);


Caricamento…
Annulla
Salva