[NTVDM]
[reactos.git] / subsystems / ntvdm / vddsup.c
index c37c74a..92a0ff1 100644 (file)
@@ -188,7 +188,7 @@ Quit:
             {
                 DPRINT1("Invalid VDD DLL Handle: %d\n", Entry);
                 /* Stop the VDM */
-                VdmRunning = FALSE;
+                EmulatorTerminate();
                 return;
             }
 
@@ -214,7 +214,7 @@ Quit:
             {
                 DPRINT1("Invalid VDD DLL Handle: %d\n", Entry);
                 /* Stop the VDM */
-                VdmRunning = FALSE;
+                EmulatorTerminate();
                 return;
             }