mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-20 11:45:43 +08:00
Update MqttServer.cs (#1858)
* Update MqttServer.cs clientID is null => RetainedMessageChangedEventArgs ctor throw new ArgumentNullException(nameof(clientId) * Update ReleaseNotes.md --------- Co-authored-by: Christian <6939810+chkr1011@users.noreply.github.com>
This commit is contained in:
@@ -1,2 +1 @@
|
|||||||
* [Client] Fixed wrong TLS options handling (#1830).
|
* [Server] Fixed not working _UpdateRetainedMessageAsync_ public api (#1858, thanks to @kimdiego2098)
|
||||||
* [Client] Fixed NullReferenceExeption when performing a Ping when the client is not connected (#1831).
|
|
||||||
|
|||||||
@@ -362,7 +362,7 @@ namespace MQTTnet.Server
|
|||||||
ThrowIfDisposed();
|
ThrowIfDisposed();
|
||||||
ThrowIfNotStarted();
|
ThrowIfNotStarted();
|
||||||
|
|
||||||
return _retainedMessagesManager?.UpdateMessage(null, retainedMessage);
|
return _retainedMessagesManager?.UpdateMessage(string.Empty, retainedMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
@@ -405,4 +405,4 @@ namespace MQTTnet.Server
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user