X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMouse.git;a=blobdiff_plain;f=lib%2FMouse%2FPurePerl.pm;h=820968eeec62a0c7169e223de7e96094e4596921;hp=2895feea959b94a98fac77f14f2a2948e80a023a;hb=3bf1e61fcb47e0815e305e0199f5743adde98f87;hpb=ba1f50a24cf3b5c5a96ded5f68b030797bf17dd5 diff --git a/lib/Mouse/PurePerl.pm b/lib/Mouse/PurePerl.pm index 2895fee..820968e 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.46 +This document describes Mouse version 0.50_01 =head1 SEE ALSO