forked from Mirrors/wine-wine
advapi32: Don't terminate service when its last thread has exited.
parent
a936b58b8b
commit
8ebf0a72c9
|
@ -547,7 +547,6 @@ static BOOL service_run_main_thread(void)
|
||||||
{
|
{
|
||||||
services[wait_services[ret]]->thread = 0;
|
services[wait_services[ret]]->thread = 0;
|
||||||
CloseHandle( wait_handles[ret] );
|
CloseHandle( wait_handles[ret] );
|
||||||
if (n == 5) return TRUE; /* it was the last running thread */
|
|
||||||
}
|
}
|
||||||
else return FALSE;
|
else return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue