comparison Lib/IMPL/Web/View/TTFactory.pm @ 290:7b0dad6117d5

*TTView: fixed memory leak
author sergey
date Wed, 20 Feb 2013 17:24:57 +0400
parents 85572f512abc
children 5d14baa35790
comparison
equal deleted inserted replaced
289:85572f512abc 290:7b0dad6117d5
54 $this->context->delocalise(); 54 $this->context->delocalise();
55 55
56 my $stash = $ctx->stash; 56 my $stash = $ctx->stash;
57 my $require = $this->require; 57 my $require = $this->require;
58 58
59
59 $stash->update({ 60 $stash->update({
60 require => sub { 61 require => sub {
61 my ($module) = @_; 62 my ($module) = @_;
62 63
63 $module =~ s/^\.\//$base\//; 64 $module =~ s/^\.\//$base\//;