Cleanup VGA refresh when terminating.

This commit is contained in:
Ove Kaaven 2000-02-03 00:46:00 +00:00 committed by Alexandre Julliard
parent 5d6d5014fa
commit 9b89998113

View file

@ -35,6 +35,7 @@
#include "dosmod.h"
#include "options.h"
#include "server.h"
#include "vga.h"
DEFAULT_DEBUG_CHANNEL(module)
@ -515,6 +516,7 @@ void MZ_KillModule( LPDOSTASK lpDosTask )
DOSSYSTEM *sys,*p_sys;
TRACE("killing DOS task\n");
VGA_Clean();
if (lpDosTask->mm_name[0]!=0) {
munmap(lpDosTask->img,0x110000-START_OFFSET);
close(lpDosTask->mm_fd);