diff options
author | Yorhel <git@yorhel.nl> | 2009-07-23 20:19:12 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-23 20:19:12 +0200 |
commit | c43b23e86e59cf253a904f54313c1ec72b2470f5 (patch) | |
tree | 604d067722ff98326657a55bcc02bf052303401f /lib/Multi/Core.pm | |
parent | 91b95b0bbf17a5756e5a7da4649f82f5a9184975 (diff) |
Remove session aliases in shutdown handler
This isn't really necessary when shutting down the entire process, but it
is for the individual session to shut down. This will make it possible to
load/unload/reload Multi modules on demand without restarting the process.
Diffstat (limited to 'lib/Multi/Core.pm')
-rw-r--r-- | lib/Multi/Core.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Multi/Core.pm b/lib/Multi/Core.pm index 4d505d14..c95947fb 100644 --- a/lib/Multi/Core.pm +++ b/lib/Multi/Core.pm @@ -86,6 +86,7 @@ sub sig_shutdown { sub shutdown { $_[KERNEL]->call(core => log => 'Shutting down (%s)', $_[ARG1]); $_[KERNEL]->post(pg => 'shutdown'); + $_[KERNEL]->alias_remove('core'); } |