AmendHub

Download:

jcs

/

wallops

/

amendments

/

86

main: Use focusables_quit on exit


jcs made amendment 86 2 months ago
--- main.c Wed Sep 11 10:58:24 2024 +++ main.c Wed Sep 11 14:11:57 2024 @@ -447,12 +447,7 @@ update_menu(void) void handle_exit(void) { - while (nfocusables > 0) { - if (focusables[0]->atexit) - focusables[0]->atexit(focusables[0]); - else - focusable_close(focusables[0]); - } + focusables_quit(); while (!SLIST_EMPTY(&irc_connections_list)) irc_dealloc_connection(SLIST_FIRST(&irc_connections_list));