From 5f4bc6e1cba2a6aeca0ee4518394407b0c157747 Mon Sep 17 00:00:00 2001 From: Yousef Khadadeh Date: Thu, 20 Nov 2025 13:26:09 +0300 Subject: [PATCH] Close window before waiting for FileDownloader to finish --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5448659..e8b989f 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -792,7 +792,7 @@ void SDL_AppQuit(void *appstate, SDL_AppResult result) { delete (&mS); - FileDownloader::cleanup(); - SDL_Quit(); + + FileDownloader::cleanup(); }