mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[NTVDM]
Add a DPRINT to diagnose CORE-10182 svn path=/trunk/; revision=69366
This commit is contained in:
parent
59028e471e
commit
3d49a7a6d4
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue