From a3b4e597a44138c9e4d943b13f36d3b745b5318b Mon Sep 17 00:00:00 2001 From: Samy Ben Tayeb Date: Mon, 23 Jun 2025 16:23:59 +0200 Subject: [PATCH] multi-closed fd fixed --- sources/core/Server.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources/core/Server.cpp b/sources/core/Server.cpp index 48ccbe7..f8bff12 100644 --- a/sources/core/Server.cpp +++ b/sources/core/Server.cpp @@ -6,7 +6,7 @@ /* By: sben-tay +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/05/13 11:11:07 by rparodi #+# #+# */ -/* Updated: 2025/06/23 14:46:53 by sben-tay ### ########.fr */ +/* Updated: 2025/06/23 16:18:12 by sben-tay ### ########.fr */ /* */ /* ************************************************************************** */ @@ -152,7 +152,6 @@ void Server::start() std::cout << "Poll loop finished" << std::endl; } std::cout << "[INFO] CTRL+C détecté. Fermeture du serveur..." << std::endl; - close(_serverFd); } /**