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

Alexandre Julliard julliard at winehq.org
Thu Dec 12 12:48:07 CST 2013


Module: wine
Branch: master
Commit: 2fe08ed67fdba9922e79108176d55c6506818f81
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2fe08ed67fdba9922e79108176d55c6506818f81

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Thu Dec 12 14:39:56 2013 +0900

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

---

 programs/msiexec/service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/msiexec/service.c b/programs/msiexec/service.c
index fdd29bd..59dfd0e 100644
--- a/programs/msiexec/service.c
+++ b/programs/msiexec/service.c
@@ -92,7 +92,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code)
             UpdateSCMStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
             KillService();
             state = SERVICE_STOPPED;
-            return;
+            break;
         default:
             fprintf(stderr, "Unhandled service control code: %d\n", code);
             break;




More information about the wine-cvs mailing list