mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
refactor(messages): simplify message history
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user