mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-16 16:29:18 +01:00
*Memoryleak fix
This commit is contained in:
parent
4284109116
commit
0ab26eaa6e
@ -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…
Reference in New Issue
Block a user