daemonizer: don't uninstall windows service on exit

This commit is contained in:
selsta 2023-01-03 03:45:43 +01:00 committed by wowario
parent 22e71f9449
commit ddfefa5dd5
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111
1 changed files with 0 additions and 3 deletions

View File

@ -146,9 +146,6 @@ namespace windows {
m_handler.run();
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)