diff options
author | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-01 13:33:22 +0200 |
---|---|---|
committer | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-01 13:33:22 +0200 |
commit | 87ac5f3ec193682372c0143bab81dceacf83701f (patch) | |
tree | 9cec1f3c8079dbdb5845892615bd110aab16eb33 /src/main.c | |
parent | fdf61c1bd7a7c94d8aa2edc77db8b87a99c29963 (diff) |
Fixed app cleanup at shutdown
Should clear the garbage before quitting SDL because widgets may be
in the garbage and have SDL resources to release.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -59,9 +59,11 @@ int main(int argc, char **argv) { | |||
59 | return -1; | 59 | return -1; |
60 | } | 60 | } |
61 | run_App(argc, argv); | 61 | run_App(argc, argv); |
62 | iRecycle(); | ||
62 | SDL_Quit(); | 63 | SDL_Quit(); |
63 | #if defined (LAGRANGE_ENABLE_MPG123) | 64 | #if defined (LAGRANGE_ENABLE_MPG123) |
64 | mpg123_exit(); | 65 | mpg123_exit(); |
65 | #endif | 66 | #endif |
67 | deinit_Foundation(); | ||
66 | return 0; | 68 | return 0; |
67 | } | 69 | } |