* dtable.cc (dtable::release): Avoid messing with console when

closing socket.
This commit is contained in:
Egor Duda
2001-08-04 18:53:53 +00:00
parent 7eb971a561
commit 17195d08bc
2 changed files with 7 additions and 0 deletions

View File

@ -158,8 +158,10 @@ dtable::release (int fd)
{
case FH_SOCKET:
dec_need_fixup_before ();
break;
case FH_CONSOLE:
dec_console_fds ();
break;
}
delete fds[fd];
fds[fd] = NULL;