mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-03-14 01:16:33 +00:00
When obeying FD_CLOEXEC, we don't need to explicitly call close() on all the FileDescriptions. We can just clear them out from the process fd table. ~FileDescription() will call close() anyway. This fixes an issue where TelnetServer would shut down accepted sockets when exec'ing a shell for them. Since the parent process still has the socket open, we should not force-close it. Just let go.
24 KiB
24 KiB