mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 17:15:53 +03:00
[GH-ISSUE #1811] race condition on portal shutdown #1527
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1527
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mnbf9rca on GitHub (Mar 28, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1811
My code executes the following sequence in case the portal times out:
I've noticed random crashes and following the stack trace, i see it's at the line 966 of WiFiManager.cpp:
As far as i can tell, there appears to be a race condition where the code attempts to make one final DNS request after the DNS server resources have already been cleaned up. The dnsServer pointer becomes invalid but the code still tries to access it.