daemonizer: don't uninstall windows service on exit
This commit is contained in:
parent
9367b432f6
commit
3461a19940
|
@ -146,9 +146,6 @@ namespace windows {
|
||||||
m_handler.run();
|
m_handler.run();
|
||||||
|
|
||||||
on_state_change_request_(SERVICE_CONTROL_STOP);
|
on_state_change_request_(SERVICE_CONTROL_STOP);
|
||||||
|
|
||||||
// Ensure that the service is uninstalled
|
|
||||||
uninstall_service(m_name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void WINAPI on_state_change_request(DWORD control_code)
|
static void WINAPI on_state_change_request(DWORD control_code)
|
||||||
|
|
Loading…
Reference in New Issue