Skip to content
Permalink
Browse files

- also put the Windows system specific exit handlers into atexit's list

Again, these have no place in the game's own uninit code.
  • Loading branch information...
coelckers committed Sep 30, 2019
1 parent eae593b commit 9f15efc5f51b7d6c99fa2fd11886e683a55220b7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/win32/i_main.cpp
@@ -965,7 +965,7 @@ void DoMain (HINSTANCE hInstance)
}
else
{
atterm (UnWTS);
atexit (UnWTS);
}
}
}
@@ -977,7 +977,7 @@ void DoMain (HINSTANCE hInstance)
WinHeight = cRect.bottom;

CoInitialize (NULL);
atterm (UnCOM);
atexit (UnCOM);

C_InitConsole (((WinWidth / 8) + 2) * 8, (WinHeight / 12) * 8, false);

0 comments on commit 9f15efc

Please sign in to comment.
You can’t perform that action at this time.