Skip to content
Snippets Groups Projects
Commit 14645b06 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

server: Don't return image information for terminating processes.


Fixes a test failure caused by 8eacd3e5.

Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent 39f77b25
No related branches found
No related tags found
No related merge requests found
......@@ -1503,7 +1503,10 @@ DECL_HANDLER(get_process_info)
reply->session_id = process->session_id;
reply->machine = process->machine;
if (get_reply_max_size())
set_reply_data( &process->image_info, min( sizeof(process->image_info), get_reply_max_size() ));
{
if (!process->running_threads) set_error( STATUS_PROCESS_IS_TERMINATING );
else set_reply_data( &process->image_info, min( sizeof(process->image_info), get_reply_max_size() ));
}
release_object( process );
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment