🔨」 fix: fixed issue with mainloop where it received empty request

This commit is contained in:
2025-05-28 11:06:19 +02:00
parent adde9e0362
commit 570ade97b4
11 changed files with 79 additions and 50 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/11 16:11:40 by adjoly #+# #+# */
/* Updated: 2025/05/27 21:19:49 by adjoly ### ########.fr */
/* Updated: 2025/05/28 10:59:27 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -136,6 +136,8 @@ void Server::_run(void) {
case RES:
_handle_resource(i);
break;
default:
break;
}
}
}
@ -153,5 +155,8 @@ Server::Server() {
Server::~Server(void) {
log("", "Server::Server", "destructor called");
for (auto it = range(_client_data)) {
delete *it;
}
PfdManager::clear();
}