X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=802289d257e83fe750a4df8597e0f2d23064179b;hp=b0361c942094b0337b692607854ed327ff6c06e5;hb=6514735e9b5d79f955badf9f50970ee768a44337;hpb=02bf7ed13ae5d43392767a38fe71e9606f1dba76 diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index b0361c9..802289d 100644 --- a/lib/Mouse/PurePerl.pm +++ b/lib/Mouse/PurePerl.pm @@ -627,7 +627,7 @@ sub DESTROY { my $demolish = Mouse::Util::get_code_ref($class, 'DEMOLISH') || next; - $self->$demolish(); + $self->$demolish($Mouse::Util::in_global_destruction); } }; $@; @@ -664,7 +664,7 @@ Mouse::PurePerl - A Mouse guts in pure Perl =head1 VERSION -This document describes Mouse version 0.48 +This document describes Mouse version 0.50 =head1 SEE ALSO