Browse Source

Fix null ref in server when using interceptor

release/3.x.x
Christian 6 years ago
parent
commit
56acc82445
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Frameworks/MQTTnet.NetStandard/Server/MqttClientSessionsManager.cs

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

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

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

interceptor(interceptorContext);


Loading…
Cancel
Save