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/app.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/app.c')
-rw-r--r-- | src/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -444,6 +444,7 @@ static void deinit_App(iApp *d) { | |||
444 | deinit_CommandLine(&d->args); | 444 | deinit_CommandLine(&d->args); |
445 | iRelease(d->launchCommands); | 445 | iRelease(d->launchCommands); |
446 | delete_String(d->execPath); | 446 | delete_String(d->execPath); |
447 | iRecycle(); | ||
447 | } | 448 | } |
448 | 449 | ||
449 | const iString *execPath_App(void) { | 450 | const iString *execPath_App(void) { |