Skip to content

Commit bccfc6b

Browse files
committed
Extra resume messaging
1 parent 830fb13 commit bccfc6b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

CumulusMX/Program.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,14 @@ private static int DrviceNotifyCallBack(IntPtr context, int type, IntPtr setting
473473
case PBT_APMRESUMECRITICAL:
474474
// The system is resuming operation after being suspended.
475475
// check if already shutting down...
476-
if (!Program.exitSystem)
476+
if (Program.exitSystem)
477+
{
478+
if (cumulus != null)
479+
{
480+
cumulus.LogMessage("*** Resuming from standby, but already shutting down, no action");
481+
}
482+
}
483+
else
477484
{
478485
if (cumulus != null)
479486
{

0 commit comments

Comments
 (0)