services: Don't close the overlapped event when terminating a service.

An overlapping I/O operation may still be in progress.
This commit is contained in:
Alexandre Julliard 2012-02-08 13:19:04 -06:00
parent 8ab65c222e
commit 154aef98d8
1 changed files with 0 additions and 2 deletions

View File

@ -861,8 +861,6 @@ void service_terminate(struct service_entry *service)
TerminateProcess(service->process, 0);
CloseHandle(service->process);
service->process = NULL;
CloseHandle(service->overlapped_event);
service->overlapped_event = NULL;
CloseHandle(service->status_changed_event);
service->status_changed_event = NULL;
CloseHandle(service->control_mutex);