[NTVDM]: Clean ConsoleFramebuffer after leaving graphics mode.

svn path=/branches/ntvdm/; revision=61794
This commit is contained in:
Hermès Bélusca-Maïto 2014-01-24 20:36:17 +00:00
parent 1d9208e0a3
commit ba97a8f567

View file

@ -617,6 +617,7 @@ static VOID VgaLeaveGraphicsMode(VOID)
/* Cleanup the video data */
CloseHandle(ConsoleMutex);
ConsoleMutex = NULL;
ConsoleFramebuffer = NULL;
CloseHandle(GraphicsConsoleBuffer);
GraphicsConsoleBuffer = NULL;
DoubleVision = FALSE;