From: Peter Rabbitson Date: Mon, 9 Mar 2015 10:25:42 +0000 (+0100) Subject: Remove erroneous undefer introduced in 8d73fcd4 (confuses old perls in END) X-Git-Tag: v0.082820~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=687af0279b6ff3f2224481f76dcd4b465890f266 Remove erroneous undefer introduced in 8d73fcd4 (confuses old perls in END) While it is important to check this during namespace cleansing checks, it actually makes no difference whatsoever during leaktests - things will either be closed over and thus seen, or they won't be (cherry pick of 90a80304) --- diff --git a/t/lib/DBICTest/Util/LeakTracer.pm b/t/lib/DBICTest/Util/LeakTracer.pm index ac5d7ee..1cf5cc4 100644 --- a/t/lib/DBICTest/Util/LeakTracer.pm +++ b/t/lib/DBICTest/Util/LeakTracer.pm @@ -200,8 +200,6 @@ sub symtable_referenced_addresses { sub assert_empty_weakregistry { my ($weak_registry, $quiet) = @_; - Sub::Defer::undefer_all(); - # in case we hooked bless any extra object creation will wreak # havoc during the assert phase local *CORE::GLOBAL::bless;