Commit 2fe08ed6 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM.

parent 46cb582a
...@@ -92,7 +92,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code) ...@@ -92,7 +92,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code)
UpdateSCMStatus(SERVICE_STOP_PENDING, NO_ERROR, 0); UpdateSCMStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
KillService(); KillService();
state = SERVICE_STOPPED; state = SERVICE_STOPPED;
return; break;
default: default:
fprintf(stderr, "Unhandled service control code: %d\n", code); fprintf(stderr, "Unhandled service control code: %d\n", code);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment