Permalink
Browse files

fixed a small Mojo::Loader bug

  • Loading branch information...
1 parent 450af8c commit ff475cc824bf4ac25792647314aae69082afcf7b @kraih committed Jun 2, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 Changes
  2. +1 −0 lib/Mojo/Loader.pm
View
@@ -23,6 +23,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Switched from Storable to JSON serialization for Mojolicious
sessions to increase efficiency.
- Reduced memory usage of Hypnotoad workers by at least 1MB (each).
+ - Fixed a small Mojo::Loader bug.
- Fixed small Windows line ending problem in Mojo::Command. (akron)
- Fixed a UTF-8 bug in Mojo::Exception. (jamadam)
- Fixed "Can't locate object method x via package y" error messages.
View
@@ -121,6 +121,7 @@ sub _purge {
sub _reload {
my $key = shift;
+ return if $key eq 'Mojo/Loader.pm';
warn "CLEANING $key\n" if DEBUG;
_unload($key);
warn "RELOADING $key\n" if DEBUG;

0 comments on commit ff475cc

Please sign in to comment.