mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 10:26:11 +08:00
Fix cleanup of client sessions
This commit is contained in:
@@ -68,7 +68,6 @@ namespace MQTTnet.Core.Server
|
||||
|
||||
try
|
||||
{
|
||||
// ReSharper disable once UseNullPropagation
|
||||
if (_options.Storage != null)
|
||||
{
|
||||
await _options.Storage.SaveRetainedMessagesAsync(allRetainedMessages);
|
||||
|
||||
Reference in New Issue
Block a user