aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2025-08-30 16:02:31 +0200
committerRodrigo Arias Mallo <rodarima@gmail.com>2025-08-30 16:04:50 +0200
commit6abc25ec37c32476414284062746417b49c155a6 (patch)
tree9500276637456d0ef8e93e94544f08e7a9b3df85 /src
parent0b8a2e281fac366105ba8f5a8f07edb4a84b7531 (diff)
Exit all tabs with SIGUSR2 signal
Breaking the loop causes missing leaks that are otherwise visible when closing the tab.
Diffstat (limited to 'src')
-rw-r--r--src/dillo.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dillo.cc b/src/dillo.cc
index 47c4ba25..ed9bc48b 100644
--- a/src/dillo.cc
+++ b/src/dillo.cc
@@ -621,7 +621,8 @@ int main(int argc, char **argv)
sig_reload = 0;
a_UIcmd_reload_all_active();
} else if (sig_exit) {
- break;
+ sig_exit = 0;
+ a_UIcmd_close_all_bw(NULL);
}
}