Making sure it deletes the window
This commit is contained in:
parent
ee19b389b0
commit
ae3c7d496a
@ -63,6 +63,7 @@ namespace gui_to_app {
|
||||
auto windows = get_windows();
|
||||
for (auto *window: windows) {
|
||||
window->set_visible(false);
|
||||
delete window;
|
||||
}
|
||||
quit();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user