mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
UNLOAD method is called now for all scripts before they're destroyed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2882 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0c359be8e5
commit
0f8a81fdb1
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ sub is_static {
|
||||||
}
|
}
|
||||||
|
|
||||||
sub destroy {
|
sub destroy {
|
||||||
|
eval { $_[0]->UNLOAD; };
|
||||||
Symbol::delete_package($_[0]);
|
Symbol::delete_package($_[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue