mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
crashfix when quitting
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3165 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0de9bcc3df
commit
8e29932db3
@ -301,11 +301,13 @@ void mainwindow_destroy(MAIN_WINDOW_REC *window)
|
||||
|
||||
term_window_destroy(window->screen_win);
|
||||
|
||||
if (!quitting && mainwindows != NULL) {
|
||||
if (mainwindows != NULL) {
|
||||
gui_windows_remove_parent(window);
|
||||
mainwindows_add_space(window->first_line, window->last_line);
|
||||
|
||||
mainwindows_redraw();
|
||||
if (!quitting) {
|
||||
mainwindows_add_space(window->first_line,
|
||||
window->last_line);
|
||||
mainwindows_redraw();
|
||||
}
|
||||
}
|
||||
|
||||
g_free(window);
|
||||
|
Loading…
Reference in New Issue
Block a user