Making sure it deletes the window

This commit is contained in:
Pcornat 2024-10-29 20:22:28 +01:00
parent ee19b389b0
commit ae3c7d496a
Signed by: Pcornat
GPG Key ID: E0326CC678A00BDD

View File

@ -63,6 +63,7 @@ namespace gui_to_app {
auto windows = get_windows(); auto windows = get_windows();
for (auto *window: windows) { for (auto *window: windows) {
window->set_visible(false); window->set_visible(false);
delete window;
} }
quit(); quit();
} }