Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-287

procrun's CloseHandle(_service_status_handle) not needed and causes exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.0.13
    • 1.0.14
    • Procrun
    • None
    • Windows 7 64 bit

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbsclient Mike Miller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: