Commit 49266107 authored by Alexandre Julliard's avatar Alexandre Julliard

server: Avoid hang on process startup.

Fixed the startup_info signaled state to avoid blocking the parent process when the child crashes on startup.
parent 68ea200f
......@@ -448,7 +448,7 @@ static void startup_info_dump( struct object *obj, int verbose )
static int startup_info_signaled( struct object *obj, struct thread *thread )
{
struct startup_info *info = (struct startup_info *)obj;
return info->process && is_process_init_done(info->process);
return info->process && info->process->startup_state != STARTUP_IN_PROGRESS;
}
/* get a process from an id (and increment the refcount) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment