Fix keep alive checks in server

This commit is contained in:
Christian Kratky
2017-12-04 13:52:14 +01:00
parent d12d2648b7
commit 644e948489
9 changed files with 98 additions and 39 deletions
@@ -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)