Add a DPRINT to diagnose CORE-10182

svn path=/trunk/; revision=69366
This commit is contained in:
Hermès Bélusca-Maïto 2015-09-26 17:46:07 +00:00
parent 59028e471e
commit 3d49a7a6d4

View file

@ -285,7 +285,14 @@ VdmShutdown(BOOLEAN Immediate)
* Immediate = TRUE: Immediate shutdown;
* FALSE: Delayed shutdown.
*/
BOOLEAN MustShutdown;
static BOOLEAN MustShutdown = FALSE;
/* If a shutdown is ongoing, just return */
if (MustShutdown)
{
DPRINT1("Shutdown is ongoing...\n");
return;
}
/* First notify DOS to see whether we can shut down now */
MustShutdown = DosShutdown(Immediate);