From a03d57f68277d7acb9ca39ec655ddfc1126abf95 Mon Sep 17 00:00:00 2001 From: Sven Steckmann Date: Wed, 16 Oct 2019 23:57:40 +0200 Subject: [PATCH] Initialize member correctly: May lead to instant disconnect in some situations. refs #139 --- src/AutoConnect.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/AutoConnect.cpp b/src/AutoConnect.cpp index 7bebde1..5433003 100644 --- a/src/AutoConnect.cpp +++ b/src/AutoConnect.cpp @@ -48,6 +48,7 @@ AutoConnect::AutoConnect(WebServerClass& webServer) { void AutoConnect::_initialize(void) { _rfConnect = false; _rfReset = false; + _rfDisconnect = false; _responsePage = nullptr; _currentPageElement = nullptr; _menuTitle = _apConfig.title;