[
https://issues.apache.org/jira/browse/DAEMON-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mladen Turk resolved DAEMON-287.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.0.14
Fixed in the SVN by r1455821
> 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
> Fix For: 1.0.14
>
>
> 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