Author: hbelusca Date: Sat Mar 14 16:40:26 2015 New Revision: 66708
URL: http://svn.reactos.org/svn/reactos?rev=66708&view=rev Log: [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.
Modified: trunk/reactos/ntoskrnl/po/power.c
Modified: trunk/reactos/ntoskrnl/po/power.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/po/power.c?rev=667... ============================================================================== --- trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/po/power.c [iso-8859-1] Sat Mar 14 16:40:26 2015 @@ -926,7 +926,8 @@ }
/* 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; }