You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mike Miller (JIRA)" <ji...@apache.org> on 2013/03/12 17:31:12 UTC
[jira] [Created] (DAEMON-287) procrun's
CloseHandle(_service_status_handle) not needed and causes exception
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