Browse Source

Fix bugs

release/3.x.x
Christian Kratky 7 years ago
parent
commit
d22528ca46
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      MQTTnet.Core/Server/MqttClientRetainedMessagesManager.cs

+ 5
- 0
MQTTnet.Core/Server/MqttClientRetainedMessagesManager.cs View File

@@ -20,6 +20,11 @@ namespace MQTTnet.Core.Server

public async Task LoadMessagesAsync()
{
if (_options.Storage == null)
{
return;
}

try
{
var retainedMessages = await _options.Storage.LoadRetainedMessagesAsync();


Loading…
Cancel
Save