*Memoryleak fix
This commit is contained in:
parent
4284109116
commit
0ab26eaa6e
1 changed files with 2 additions and 0 deletions
|
@ -326,6 +326,8 @@ int MainMenu(int menu) {
|
||||||
|
|
||||||
CloseXMLDatabase();
|
CloseXMLDatabase();
|
||||||
NewTitles::DestroyInstance();
|
NewTitles::DestroyInstance();
|
||||||
|
CFG_Cleanup();
|
||||||
|
|
||||||
if (strcmp(headlessID,"")!=0)//the GUIthread was never started, so it cant be ended and joined properly if headless mode was used. so we resume it and close it.
|
if (strcmp(headlessID,"")!=0)//the GUIthread was never started, so it cant be ended and joined properly if headless mode was used. so we resume it and close it.
|
||||||
ResumeGui();
|
ResumeGui();
|
||||||
ExitGUIThreads();
|
ExitGUIThreads();
|
||||||
|
|
Loading…
Add table
Reference in a new issue