Comment the magic so that someone doesn't just remove it again.
Tomas Doran [Mon, 29 Jun 2009 19:57:17 +0000 (19:57 +0000)]
lib/Catalyst/Test.pm

index 75821bf..3b319ed 100644 (file)
@@ -55,7 +55,7 @@ my $build_exports = sub {
             $c = shift;
         });
         $meta->make_immutable( replace_constructor => 1 );
-        Class::C3::reinitialize();
+        Class::C3::reinitialize(); # Fixes RT#46459, I've failed to write a test for how/why, but it does.
         ### do the request; C::T::request will know about the class name, and
         ### we've already stopped it from doing remote requests above.
         my $res = $request->( @_ );