Commit 7f749d58 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

services: Terminate all service processes on shutdown.

Instead of waiting for wineserver to kill them on shutdown, after a 2s delay. Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent c37a6e8e
...@@ -520,6 +520,7 @@ static void scmdatabase_wait_terminate(struct scmdatabase *db) ...@@ -520,6 +520,7 @@ static void scmdatabase_wait_terminate(struct scmdatabase *db)
{ {
struct process_entry *process = grab_process(LIST_ENTRY(ptr, struct process_entry, entry)); struct process_entry *process = grab_process(LIST_ENTRY(ptr, struct process_entry, entry));
process_terminate(process);
scmdatabase_unlock(db); scmdatabase_unlock(db);
WaitForSingleObject(process->process, INFINITE); WaitForSingleObject(process->process, INFINITE);
scmdatabase_lock(db); scmdatabase_lock(db);
......
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