Fixed issue 502

This commit is contained in:
Nick Bolton 2010-06-05 07:44:49 +00:00
parent a26bba1cc9
commit b7e528c8ab
1 changed files with 4 additions and 0 deletions

View File

@ -701,6 +701,10 @@ CArchDaemonWindows::serviceMain(DWORD argc, LPTSTR* argvIn)
// clean up // clean up
ARCH->closeCondVar(m_serviceCondVar); ARCH->closeCondVar(m_serviceCondVar);
ARCH->closeMutex(m_serviceMutex); ARCH->closeMutex(m_serviceMutex);
// we're going to exit now, so set status to stopped
m_serviceState = SERVICE_STOPPED;
setStatus(m_serviceState, 0, 10000);
} }
void WINAPI void WINAPI