AsyncTCP change

This commit is contained in:
proddy
2026-01-03 13:58:25 +01:00
parent af349edd54
commit 41bf293db3

View File

@@ -253,7 +253,7 @@ void ModbusServerTCPasync::onClientConnect(AsyncClient* client) {
LOG_D("nr clients: %u\n", clients.size());
} else {
LOG_D("max number of clients reached, closing new\n");
client->close(true);
client->close();
delete client;
}
}