Skip to content

Commit

Permalink
Remove preemptive DESTROY guard from 87f4bab / d63c9e6
Browse files Browse the repository at this point in the history
It has been on CPAN sufficiently long, and would be needlesly pessimizing
the upcoming sanity check framework.
  • Loading branch information
ribasushi committed Jun 14, 2016
1 parent 1cf2ad8 commit 0c90b92
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/DBIx/Class.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c90b92

Please sign in to comment.