refactor(messages): simplify message history

This commit is contained in:
Luuk van Baal
2025-02-28 20:25:58 +01:00
parent 948179cb19
commit f7fa6d1266
6 changed files with 101 additions and 156 deletions

View File

@@ -856,11 +856,7 @@ void free_all_mem(void)
first_tabpage = NULL;
// message history
while (true) {
if (delete_first_msg() == FAIL) {
break;
}
}
msg_hist_clear(0);
channel_free_all_mem();
eval_clear();