Since Perl isn't so nice as to do this for us all the time, we'll throw it in.
This commit is contained in:
1 parent
0315a1f121
commit
e033b76a6c
1 file changed
+2
@@ -53,6 +53,8 @@ sub mod_init {
|
|||||||
API::Log::dbug('MODULES: Failed to load '.$name.q{.});
|
API::Log::dbug('MODULES: Failed to load '.$name.q{.});
|
||||||
API::Log::alog('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{.}) }
|
if (keys %Auto::SOCKET) { API::Log::slog('MODULES: Failed to load '.$name.q{.}) }
|
||||||
|
# Just in case.
|
||||||
|
Class::Unload->unload($pkg);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user