Commit 4ab867f
committed
PowerModeChanged handling
Apparently, Windows is not very consistent with reporting PowerModeChanged events so we need to account for that. Suspend code now runs in the Shutdown action to keep WinNUT in a more consistent state between power mode changes.1 parent e52fa65 commit 4ab867f
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | 291 | | |
295 | 292 | | |
296 | 293 | | |
| |||
1098 | 1095 | | |
1099 | 1096 | | |
1100 | 1097 | | |
1101 | | - | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
1102 | 1101 | | |
1103 | 1102 | | |
1104 | 1103 | | |
| |||
0 commit comments