projects
/
catagits/Reaction.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
memory leak. catalyst 5.8 will fix this problem
[catagits/Reaction.git]
/
lib
/
Reaction
/
UI
/
Controller.pm
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;
}