Răsfoiți Sursa

* When the service startup failed, set the state to csStopped so that on
Windows the system doesn't wait forever for the service to end.

git-svn-id: trunk@13284 -

joost 16 ani în urmă
părinte
comite
ac550782dc
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      packages/fcl-base/src/daemonapp.pp

+ 3 - 1
packages/fcl-base/src/daemonapp.pp

@@ -1141,7 +1141,9 @@ begin
         CheckControlMessage(True);
       CheckControlMessage(False);
       end;
-    end;
+    end
+  else
+    FDaemon.Status:=csStopped;
 end;