* Add option saving to main.cpp when exiting..

This commit is contained in:
iProgramInCpp
2023-08-25 20:35:26 +03:00
parent 4d5f087ae5
commit 0c38c01c28
2 changed files with 3 additions and 4 deletions

View File

@@ -214,6 +214,7 @@ static EM_BOOL main_loop(double time, void *user_data)
if (g_pApp->wantToQuit())
{
g_pApp->saveOptions();
delete g_pApp;
delete g_pAppPlatform;
teardown();