Mike Miller created DAEMON-287:
----------------------------------
Summary: procrun's CloseHandle(_service_status_handle) not needed
and causes exception
Key: DAEMON-287
URL: https://issues.apache.org/jira/browse/DAEMON-287
Project: Commons Daemon
Issue Type: Bug
Components: Procrun
Affects Versions: 1.0.13
Environment: Windows 7 64 bit
Reporter: Mike Miller
Priority: Minor
prunsrv.c line 1733 calls CloseHandle(_service_status_handle), this causes an
invalid handle exception to the thrown & caught.
The documentation for RegisterServiceCtrlHandleW() states that CloseHandle()
does not have to be called.
See MSDN documentation for RegisterServiceCtrlHandleW.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira