diff --git a/src/main.cpp b/src/main.cpp index 965652f..ce1fc60 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -76,3 +76,9 @@ WUMS_APPLICATION_ENDS() { Texture2DShader::destroyInstance(); deinitLogging(); } + +WUMS_DEINITIALIZE() { + delete gOverlayFrame; + delete gFontSystem; + MEMFreeToMappedMemory(gContextState); +} \ No newline at end of file