earlephilhower on master
Allow users to inherit and over… (compare)
I found out what was the cause of the leaks.. it was this NotFound handler:
server.onNotFound({
AsyncWebServerResponse *response = request->beginResponse(SPIFFS, "/404.html");
response->setCode(404);
even if it was not written correctly, this code shouldn't normally run until I request a file that is not found on the server, right? I found it strange that with this code the sketch has memory leaks, even though I only refresh page /test.html