Author: hbelusca
Date: Sat Sep 26 17:46:07 2015
New Revision: 69366
URL:
http://svn.reactos.org/svn/reactos?rev=69366&view=rev
Log:
[NTVDM]
Add a DPRINT to diagnose CORE-10182
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/ntvdm.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/ntvdm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/ntvd…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/ntvdm.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/ntvdm.c [iso-8859-1] Sat Sep 26 17:46:07 2015
@@ -285,7 +285,14 @@
* 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);