X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fprocess-nt.c;h=0ce9c257eb56ab1b2f5acbfa9e88b9606e441784;hb=58b215d2daf9bb417f10491b38ce07d80aa36aa4;hp=2cf4b6829e44bd5fbe7641c64c7e9dcd55fd8091;hpb=21db8709c0c2dcedbd278c7fe571290d5ce80a71;p=chise%2Fxemacs-chise.git.1 diff --git a/src/process-nt.c b/src/process-nt.c index 2cf4b68..0ce9c25 100644 --- a/src/process-nt.c +++ b/src/process-nt.c @@ -642,6 +642,9 @@ static void nt_finalize_process_data (Lisp_Process *p, int for_disksave) { assert (!for_disksave); + /* If it's still in the list of processes we are waiting on delete + it. */ + mswindows_unwait_process (p); if (NT_DATA (p)->h_process) CloseHandle (NT_DATA (p)->h_process); }