[1169] Found the missing .prove contents.

Ovid publiustemp-tapx at yahoo.com
Fri Aug 22 17:14:06 UTC 2008


--- On Fri, 22/8/08, Andy Armstrong <andy at hexten.net> wrote:

> From: Andy Armstrong <andy at hexten.net>

> App::Prove::State used to commit the updated state in its
> DESTROY  
> method - but I think I remember that reference counts are
> ignored  
> during global destruction - and the state object
> doesn't get a chance  
> to go out of scope before global destruction. So we were
> losing the  
> App::Prove::State::Result /before/ the App::Prove::State.

Makes sense to me.  I've been bitten by DESTROY problems several times.  It was particularly fun the time that a DBI object went out of scope before its container and valid changes were rolled back.  That was FUN to debug :(

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6



More information about the tapx-dev mailing list