logging safe

This commit is contained in:
J. Nick Koston
2025-05-27 10:38:59 -05:00
parent 600b2e6d78
commit 97a2458f62

View File

@@ -239,8 +239,6 @@ void Application::register_socket_fd(int fd) {
if (fd > this->max_fd_) {
this->max_fd_ = fd;
}
ESP_LOGD(TAG, "Registered socket fd %d (total: %zu)", fd, this->socket_fds_.size());
}
void Application::unregister_socket_fd(int fd) {
@@ -258,8 +256,6 @@ void Application::unregister_socket_fd(int fd) {
} else if (this->socket_fds_.empty()) {
this->max_fd_ = -1;
}
ESP_LOGD(TAG, "Unregistered socket fd %d (remaining: %zu)", fd, this->socket_fds_.size());
}
bool Application::is_socket_ready(int fd) const {