mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Set perl destruct level to 1 when destroying the perl interpreter with
/perlflush. This should close all the open files etc. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@498 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
158817c858
commit
4bd56ec361
@ -175,6 +175,7 @@ static void irssi_perl_stop(void)
|
||||
while (perl_timeouts != NULL)
|
||||
perl_timeout_destroy(perl_timeouts->data);
|
||||
|
||||
PL_perl_destruct_level = 1;
|
||||
perl_destruct(irssi_perl_interp);
|
||||
perl_free(irssi_perl_interp);
|
||||
irssi_perl_interp = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user