mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Free all buffers when exiting from WeeChat
This commit is contained in:
@@ -1655,7 +1655,12 @@ gui_end ()
|
||||
delwin (ptr_win->win_infobar);
|
||||
if (ptr_win->win_input)
|
||||
delwin (ptr_win->win_input);
|
||||
/* TODO: free input buffer, lines, messages, completion */
|
||||
}
|
||||
|
||||
/* delete all buffers */
|
||||
while (gui_buffers)
|
||||
{
|
||||
gui_buffer_free (gui_buffers, 0);
|
||||
}
|
||||
|
||||
/* end of curses output */
|
||||
|
||||
@@ -1655,7 +1655,12 @@ gui_end ()
|
||||
delwin (ptr_win->win_infobar);
|
||||
if (ptr_win->win_input)
|
||||
delwin (ptr_win->win_input);
|
||||
/* TODO: free input buffer, lines, messages, completion */
|
||||
}
|
||||
|
||||
/* delete all buffers */
|
||||
while (gui_buffers)
|
||||
{
|
||||
gui_buffer_free (gui_buffers, 0);
|
||||
}
|
||||
|
||||
/* end of curses output */
|
||||
|
||||
Reference in New Issue
Block a user