From e033b76a6c5d3039b2b4530575d920d2fd8011f1 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Sun, 20 Mar 2011 09:16:51 -0600 Subject: [PATCH] Since Perl isn't so nice as to do this for us all the time, we'll throw it in. --- lib/API/Std.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/API/Std.pm b/lib/API/Std.pm index 37ccba6..3966953 100644 --- a/lib/API/Std.pm +++ b/lib/API/Std.pm @@ -53,6 +53,8 @@ sub mod_init { API::Log::dbug('MODULES: Failed to load '.$name.q{.}); API::Log::alog('MODULES: Failed to load '.$name.q{.}); if (keys %Auto::SOCKET) { API::Log::slog('MODULES: Failed to load '.$name.q{.}) } + # Just in case. + Class::Unload->unload($pkg); return; }