Skip to content

Commit 32655b7

Browse files
authored
Update WiFiManager.cpp (#1812)
1 parent b67b782 commit 32655b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WiFiManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ bool WiFiManager::shutdownConfigPortal(){
961961

962962
if(webPortalActive) return false;
963963

964-
if(configPortalActive){
964+
if(configPortalActive && dnsServer){
965965
//DNS handler
966966
dnsServer->processNextRequest();
967967
}

0 commit comments

Comments
 (0)