diff options
author | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-02 19:53:10 +0200 |
---|---|---|
committer | Jaakko Keranen <jaakko.keranen@iki.fi> | 2020-11-02 19:53:10 +0200 |
commit | cb83f2a1cfa897df22e7ab119fe531276f9459a6 (patch) | |
tree | 770ceffe5a330f22e51cf994a56b367550a69397 /src/main.c | |
parent | 15f459bdbeec2357d4a2c8f822ad287814e1577f (diff) |
Fixed potential crash at app shutdown
Delete garbage collected widgets in Window deinitialization.
Widgets should not continue to exist if there is no Window.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -59,7 +59,6 @@ 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(); | ||
63 | SDL_Quit(); | 62 | SDL_Quit(); |
64 | #if defined (LAGRANGE_ENABLE_MPG123) | 63 | #if defined (LAGRANGE_ENABLE_MPG123) |
65 | mpg123_exit(); | 64 | mpg123_exit(); |