mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 08:11:05 -08:00
Avoid assertion violations when starting client network process
* src/process.c (deactivate_process): Clear the callback info of descriptors we are closing. (Bug#79367)
This commit is contained in:
parent
6b42b974ce
commit
29d18f4ffe
1 changed files with 5 additions and 1 deletions
|
|
@ -4831,7 +4831,11 @@ deactivate_process (Lisp_Object proc)
|
|||
/* Beware SIGCHLD hereabouts. */
|
||||
|
||||
for (i = 0; i < PROCESS_OPEN_FDS; i++)
|
||||
close_process_fd (&p->open_fd[i]);
|
||||
{
|
||||
fd_callback_info[p->open_fd[i]].thread = NULL;
|
||||
fd_callback_info[p->open_fd[i]].waiting_thread = NULL;
|
||||
close_process_fd (&p->open_fd[i]);
|
||||
}
|
||||
|
||||
inchannel = p->infd;
|
||||
eassert (inchannel < FD_SETSIZE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue