WindowServer: Fix fd closing

Don't close fds in Window destructor :P
This commit is contained in:
2026-07-04 07:33:41 +03:00
parent c9b3d50523
commit b2169cbce6
2 changed files with 1 additions and 2 deletions

View File

@@ -326,6 +326,7 @@ int main()
if (auto ret = window_server.add_client_fd(client_fd); ret.is_error())
{
dwarnln("add_client: {}", ret.error());
epoll_ctl(g_epoll_fd, EPOLL_CTL_DEL, client_fd, nullptr);
close(client_fd);
continue;
}