Skip to content
Snippets Groups Projects
Commit 7f749d58 authored by Rémi Bernon's avatar Rémi Bernon :speech_balloon: Committed by Alexandre Julliard
Browse files

services: Terminate all service processes on shutdown.


Instead of waiting for wineserver to kill them on shutdown, after a
2s delay.

Signed-off-by: default avatarRémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
parent c37a6e8e
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment