forked from PsychoticNinja/irssi
term_deinit() should set SIGCONT back to default, so if it's sent after that
it won't crash (gnome-terminal does that for some reason) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2623 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ee3a30e16b
commit
88654c4468
@ -119,6 +119,7 @@ int term_init(void)
|
|||||||
void term_deinit(void)
|
void term_deinit(void)
|
||||||
{
|
{
|
||||||
if (current_term != NULL) {
|
if (current_term != NULL) {
|
||||||
|
signal(SIGCONT, SIG_DFL);
|
||||||
g_source_remove(redraw_tag);
|
g_source_remove(redraw_tag);
|
||||||
|
|
||||||
term_common_deinit();
|
term_common_deinit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user