services: Terminate all service processes on shutdown.
Instead of waiting for wineserver to kill them on shutdown, after a 2s delay. Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c37a6e8e40
commit
7f749d58d9
|
@ -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));
|
||||
|
||||
process_terminate(process);
|
||||
scmdatabase_unlock(db);
|
||||
WaitForSingleObject(process->process, INFINITE);
|
||||
scmdatabase_lock(db);
|
||||
|
|
Loading…
Reference in New Issue