mirror of
https://github.com/esp8266/Arduino.git
synced 2025-09-05 08:04:28 +03:00
In issue #4350, @mongozmaki found that the web server was accessing a deleted variable in the destructor. Implement his suggested change and move the close() before any freeing. Could also have simply NULL'd out the _currentHeaders member after freeing as well. Fixes issue #4350