I noticed a problem when the core tries to reconnect to WiFi where all my variables get cleared to 0/NULL (all memory gets zeroed out I guess?). I see this happening plotting these variables to an LCD (which happen to monitor the variables (temperatures and such) already.
The core is NOT resetting as the setup() section is definitely not run, it just keeps running the loop and all pins remain in their respective in/output modes etc. Basically everything keeps running apart from the fact that my variables get cleared.
As you can imagine, this causes all sorts of problems, in my case all floating PID variables get “reset”.
Once it is connected again all is fine…
Is this a known bug/issue? Anything I can do/try ?