summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2006-09-12 09:37:18 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2006-09-12 09:37:18 +0000
commitb25c8cf1d14b31890e44fbb5b239ff5f8867b394 (patch)
treeb8f9256a7c57e5b49e3ee22b6331fb7db69d14a7 /src/perl/perl-core.c
parent714aa30b4e65eca3f5933dc1c0589cb37df7116f (diff)
downloadirssi-b25c8cf1d14b31890e44fbb5b239ff5f8867b394.zip
Don't crash on /quit with scripts causing and catching signals during UNLOAD (thanks senneth)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4340 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index 5733db14..2b660eef 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -470,8 +470,8 @@ void perl_core_init(void)
void perl_core_deinit(void)
{
- perl_signals_deinit();
perl_scripts_deinit();
+ perl_signals_deinit();
signal_remove("script error", (SIGNAL_FUNC) sig_script_error);
}