diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-30 16:02:31 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-30 16:04:50 +0200 |
commit | 6abc25ec37c32476414284062746417b49c155a6 (patch) | |
tree | 9500276637456d0ef8e93e94544f08e7a9b3df85 | |
parent | 0b8a2e281fac366105ba8f5a8f07edb4a84b7531 (diff) |
Exit all tabs with SIGUSR2 signal
Breaking the loop causes missing leaks that are otherwise visible when
closing the tab.
-rw-r--r-- | src/dillo.cc | 3 |
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); } } |