diff src/process-nt.c @ 791:7b1f30330a19

[xemacs-hg @ 2002-03-21 18:55:01 by adrian] [PATCH] Assert around line 1600 in event-msw.c <3cz31qp4.fsf@arbortext.com>
author adrian
date Thu, 21 Mar 2002 18:55:09 +0000
parents 943eaba38521
children a5954632b187
line wrap: on
line diff
--- a/src/process-nt.c	Thu Mar 21 15:47:29 2002 +0000
+++ b/src/process-nt.c	Thu Mar 21 18:55:09 2002 +0000
@@ -639,6 +639,9 @@
 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);
 }