From: Peter Rabbitson Date: Tue, 14 Jun 2016 10:32:34 +0000 (+0200) Subject: Remove preemptive DESTROY guard from 87f4bab0 / d63c9e64 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0c90b924a1f5b081a14a1d4f2fefaa48b9481a9f;p=dbsrgits%2FDBIx-Class-Historic.git Remove preemptive DESTROY guard from 87f4bab0 / d63c9e64 It has been on CPAN sufficiently long, and would be needlesly pessimizing the upcoming sanity check framework. --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index f76419d..474d964 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -27,18 +27,6 @@ __PACKAGE__->mk_classaccessor( _skip_namespace_frames => '^DBIx::Class|^SQL::Abstract|^Try::Tiny|^Class::Accessor::Grouped|^Context::Preserve|^Moose::Meta::' ); -# FIXME - this is not really necessary, and is in -# fact going to slow things down a bit -# However it is the right thing to do in order to get -# various install bases to highlight their brokenness -# Remove at some unknown point in the future -# -# The oddball BEGIN is there for... reason unknown -# It does make non-segfaulty difference on pre-5.8.5 perls, so shrug -BEGIN { - sub DESTROY { &DBIx::Class::_Util::detected_reinvoked_destructor }; -} - sub component_base_class { 'DBIx::Class' } # *DO NOT* change this URL nor the identically named =head1 below