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-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=90a8030442ff2b9b6414ec9d8d7119b28d36426c;p=dbsrgits%2FDBIx-Class.git 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 --- diff --git a/t/lib/DBICTest/Util/LeakTracer.pm b/t/lib/DBICTest/Util/LeakTracer.pm index 242a4e1..3da3b86 100644 --- a/t/lib/DBICTest/Util/LeakTracer.pm +++ b/t/lib/DBICTest/Util/LeakTracer.pm @@ -204,8 +204,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;