[NTOS]: Do not assert if we haven't shut down ReactOS yet, in 99.99% cases it's because you asked it to go into a non-yet implemented power state.

CORE-8537 #resolve #comment Replaced the ASSERT by an informative message when the power action is not implemented. r66708.

svn path=/trunk/; revision=66708
This commit is contained in:
Hermès Bélusca-Maïto 2015-03-14 16:40:26 +00:00
parent 400db38479
commit 249fea034e

View file

@ -926,7 +926,8 @@ NtSetSystemPowerState(IN POWER_ACTION SystemAction,
}
/* You should not have made it this far */
ASSERTMSG("System is still up and running?!", FALSE);
// ASSERTMSG("System is still up and running?!", FALSE);
DPRINT1("System is still up and running, you may not have chosen a yet supported power option: %u\n", PopAction.Action);
break;
}