Merge pull request #8700

3461a19 daemonizer: don't uninstall windows service on exit (selsta)
This commit is contained in:
luigi1111 2023-02-06 12:34:41 -05:00
commit 889951e7c5
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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)