diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-13 21:29:18 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-13 21:29:18 +0200 |
commit | 644e1238d425f97b284f3e4cfb02c61d4ec322f2 (patch) | |
tree | a9532a6a2acaadde48e441a5eb45c321b7aeb352 | |
parent | d2f3c851a7273f35f128d4ea58b752251c5d5001 (diff) |
App: Fixed crash at shutdown
Must remove the resize watcher so it doesn't trigger redraws
during shutdown.
-rw-r--r-- | src/app.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -745,6 +745,7 @@ static int run_App_(iApp *d) { | |||
745 | refresh_App(); | 745 | refresh_App(); |
746 | recycle_Garbage(); | 746 | recycle_Garbage(); |
747 | } | 747 | } |
748 | SDL_DelEventWatch(resizeWatcher_, d); | ||
748 | return 0; | 749 | return 0; |
749 | } | 750 | } |
750 | 751 | ||