projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
7ccc8c7
)
memory leak. catalyst 5.8 will fix this problem
groditi [Wed, 11 Mar 2009 20:47:19 +0000 (20:47 +0000)]
lib/Reaction/UI/Controller.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/UI/Controller.pm
b/lib/Reaction/UI/Controller.pm
index
45a85d8
..
56e5b2d
100644
(file)
--- a/
lib/Reaction/UI/Controller.pm
+++ b/
lib/Reaction/UI/Controller.pm
@@
-12,6
+12,7
@@
with 'Catalyst::Component::InstancePerContext';
sub build_per_context_instance {
my ($self, $c, @args) = @_;
my $newself = $self->new($self->_application, {%$self, context => $c, @args});
+ weaken $newself->{context}; #stopgap till cat 5.8
return $newself;
}