summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 21:29:18 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-13 21:29:18 +0200
commit644e1238d425f97b284f3e4cfb02c61d4ec322f2 (patch)
treea9532a6a2acaadde48e441a5eb45c321b7aeb352
parentd2f3c851a7273f35f128d4ea58b752251c5d5001 (diff)
App: Fixed crash at shutdown
Must remove the resize watcher so it doesn't trigger redraws during shutdown.
-rw-r--r--src/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app.c b/src/app.c
index cc3614ea..a0054a9f 100644
--- a/src/app.c
+++ b/src/app.c
@@ -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