Fixed issue 502
This commit is contained in:
parent
a26bba1cc9
commit
b7e528c8ab
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue