mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-21 04:03:05 +08:00
Fix keep alive checks in server
This commit is contained in:
@@ -103,7 +103,8 @@ namespace MQTTnet.TestApp.UniversalWindows
|
||||
};
|
||||
|
||||
options.CleanSession = CleanSession.IsChecked == true;
|
||||
|
||||
options.KeepAlivePeriod = TimeSpan.FromSeconds(double.Parse(KeepAliveInterval.Text));
|
||||
|
||||
try
|
||||
{
|
||||
if (_mqttClient != null)
|
||||
|
||||
Reference in New Issue
Block a user