From ae3c7d496ac8795848e81879cd3284b655b41ce8 Mon Sep 17 00:00:00 2001 From: Pcornat Date: Tue, 29 Oct 2024 20:22:28 +0100 Subject: [PATCH] Making sure it deletes the window --- app_win_2_back.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app_win_2_back.cpp b/app_win_2_back.cpp index bd005a2..664d573 100644 --- a/app_win_2_back.cpp +++ b/app_win_2_back.cpp @@ -63,6 +63,7 @@ namespace gui_to_app { auto windows = get_windows(); for (auto *window: windows) { window->set_visible(false); + delete window; } quit(); }