]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commit
Don't call the free callback in global destruction
authorVincent Pit <vince@profvince.com>
Tue, 20 Jan 2009 22:01:34 +0000 (23:01 +0100)
committerVincent Pit <vince@profvince.com>
Tue, 20 Jan 2009 22:01:34 +0000 (23:01 +0100)
commitb85f6ded9d3d67458fd9e3f37e0367d446e85d6a
tree2fbb5dcc380f423f724b4afdd8ccaad80600a1de
parent76aca5af738faefb781bfd6b5b50ac7eb5a33af8
Don't call the free callback in global destruction

Because in this case the wizard may not even exist anymore.

And test for that in t/15-self.t if either PERL_DESTRUCT_LEVEL is set or if
Perl::Destruct::Level is present.
Magic.xs
t/15-self.t