X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FEngine.pm;h=36b839b1f8f3c5ccbc5185a25d678b2b34d01a29;hp=de7e082ba29e9c7ca98fd583fae07f3256992f6c;hb=9edb1eb325435873ed55f643d671cb050bd8b659;hpb=c2e37e5972fc1dd50f7eebdd0b73cea11ae1b8f4 diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index de7e082..36b839b 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -419,6 +419,7 @@ sub handler { my $av = sprintf '%.3f', ( $elapsed == 0 ? '??' : ( 1 / $elapsed ) ); my $t = Text::ASCIITable->new; + undef $t->{tiedarr}; # work-around for a memory leak $t->setCols( 'Action', 'Time' ); $t->setColWidth( 'Action', 64, 1 ); $t->setColWidth( 'Time', 9, 1 ); @@ -519,6 +520,7 @@ sub prepare { if ( $c->debug && keys %{ $c->req->params } ) { my $t = Text::ASCIITable->new; + undef $t->{tiedarr}; # work-around for a memory leak $t->setCols( 'Key', 'Value' ); $t->setColWidth( 'Key', 37, 1 ); $t->setColWidth( 'Value', 36, 1 );