forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit447e165
committed
Properly send SCM status updates when shutting down service on Windows
The Service Control Manager should be notified regularly during a shutdownthat takes a long time. Previously we would increaes the counter, but forgotto actually send the notification to the system. The loop counter was alsoincorrectly initalized in the event that the startup of the system took longenough for it to increase, which could cause the shutdown process not to waitas long as expected.Krystian Bigaj, reviewed by Michael Paquier1 parentbf85ba2 commit447e165
1 file changed
+20
-8
lines changedLines changed: 20 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1510 | 1510 |
| |
1511 | 1511 |
| |
1512 | 1512 |
| |
1513 |
| - | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
| 1519 | + | |
1514 | 1520 |
| |
1515 |
| - | |
1516 |
| - | |
1517 |
| - | |
1518 |
| - | |
1519 |
| - | |
1520 |
| - | |
1521 |
| - | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
1522 | 1534 |
| |
1523 | 1535 |
| |
1524 | 1536 |
| |
|
0 commit comments
Comments
(0)