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/RG.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/RG.pm')
-rw-r--r-- | lib/Multi/RG.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Multi/RG.pm b/lib/Multi/RG.pm index 65587e93..e427caf2 100644 --- a/lib/Multi/RG.pm +++ b/lib/Multi/RG.pm @@ -46,6 +46,7 @@ sub _start { sub shutdown { $_[KERNEL]->delay('check_rg'); $_[KERNEL]->post(pg => unlisten => 'relgraph'); + $_[KERNEL]->alias_remove('rg'); } |