advapi32: Don't terminate service when its last thread has exited.

oldstable
Piotr Caban 2012-10-22 14:25:54 +02:00 committed by Alexandre Julliard
parent a936b58b8b
commit 8ebf0a72c9
1 changed files with 0 additions and 1 deletions

View File

@ -547,7 +547,6 @@ static BOOL service_run_main_thread(void)
{
services[wait_services[ret]]->thread = 0;
CloseHandle( wait_handles[ret] );
if (n == 5) return TRUE; /* it was the last running thread */
}
else return FALSE;
}