mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[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:
parent
400db38479
commit
249fea034e
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue