mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-26 16:24:10 +08:00
Fix null ref in server when using interceptor
This commit is contained in:
@@ -227,7 +227,7 @@ namespace MQTTnet.Server
|
|||||||
}
|
}
|
||||||
|
|
||||||
var interceptorContext = new MqttApplicationMessageInterceptorContext(
|
var interceptorContext = new MqttApplicationMessageInterceptorContext(
|
||||||
senderClientSession.ClientId,
|
senderClientSession?.ClientId,
|
||||||
applicationMessage);
|
applicationMessage);
|
||||||
|
|
||||||
interceptor(interceptorContext);
|
interceptor(interceptorContext);
|
||||||
|
|||||||
Reference in New Issue
Block a user