diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index fa003c29851..736098fb410 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4831,7 +4831,11 @@ deactivate_process (Lisp_Object proc) | |||
| 4831 | /* Beware SIGCHLD hereabouts. */ | 4831 | /* Beware SIGCHLD hereabouts. */ |
| 4832 | 4832 | ||
| 4833 | for (i = 0; i < PROCESS_OPEN_FDS; i++) | 4833 | for (i = 0; i < PROCESS_OPEN_FDS; i++) |
| 4834 | close_process_fd (&p->open_fd[i]); | 4834 | { |
| 4835 | fd_callback_info[p->open_fd[i]].thread = NULL; | ||
| 4836 | fd_callback_info[p->open_fd[i]].waiting_thread = NULL; | ||
| 4837 | close_process_fd (&p->open_fd[i]); | ||
| 4838 | } | ||
| 4835 | 4839 | ||
| 4836 | inchannel = p->infd; | 4840 | inchannel = p->infd; |
| 4837 | eassert (inchannel < FD_SETSIZE); | 4841 | eassert (inchannel < FD_SETSIZE); |