mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
make deinitialization between screen_refresh_freeze() and
screen_refresh_thaw() so screen won't get redrawn needlessly git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7612cf4773
commit
3f113f51b9
@ -148,10 +148,12 @@ static void textui_deinit(void)
|
|||||||
quitting = TRUE;
|
quitting = TRUE;
|
||||||
signal(SIGINT, SIG_DFL);
|
signal(SIGINT, SIG_DFL);
|
||||||
|
|
||||||
|
screen_refresh_freeze();
|
||||||
while (modules != NULL)
|
while (modules != NULL)
|
||||||
module_unload(modules->data);
|
module_unload(modules->data);
|
||||||
|
|
||||||
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
|
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
|
||||||
|
|
||||||
gui_textwidget_deinit();
|
gui_textwidget_deinit();
|
||||||
statusbar_deinit();
|
statusbar_deinit();
|
||||||
gui_printtext_deinit();
|
gui_printtext_deinit();
|
||||||
@ -161,6 +163,8 @@ static void textui_deinit(void)
|
|||||||
mainwindows_deinit();
|
mainwindows_deinit();
|
||||||
gui_expandos_deinit();
|
gui_expandos_deinit();
|
||||||
gui_entry_deinit();
|
gui_entry_deinit();
|
||||||
|
|
||||||
|
screen_refresh_thaw();
|
||||||
deinit_screen();
|
deinit_screen();
|
||||||
|
|
||||||
#ifdef HAVE_STATIC_PERL
|
#ifdef HAVE_STATIC_PERL
|
||||||
|
Loading…
Reference in New Issue
Block a user