projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2082d8f
)
other memory leak
groditi [Tue, 11 Nov 2008 19:51:04 +0000 (19:51 +0000)]
lib/ComponentUI/Controller/Root.pm
patch
|
blob
|
blame
|
history
lib/Reaction/InterfaceModel/Action.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ComponentUI/Controller/Root.pm
b/lib/ComponentUI/Controller/Root.pm
index
4113a73
..
9f57fa9
100644
(file)
--- a/
lib/ComponentUI/Controller/Root.pm
+++ b/
lib/ComponentUI/Controller/Root.pm
@@
-31,6
+31,10
@@
sub root :Chained('base') :PathPart('') :Args(0) {
$self->push_viewport(ViewPort, layout => 'index');
}
+sub bye :Chained('base') :PathPart('bye') :Args(0) {
+ exit;
+}
+
sub static :Chained('base') :PathPart('static') :Args {
my ($self, $c, @args) = @_;
return if $c->stash->{window}->view->serve_static_file($c, \@args);
diff --git
a/lib/Reaction/InterfaceModel/Action.pm
b/lib/Reaction/InterfaceModel/Action.pm
index
54935b6
..
12234ec
100644
(file)
--- a/
lib/Reaction/InterfaceModel/Action.pm
+++ b/
lib/Reaction/InterfaceModel/Action.pm
@@
-18,7
+18,8
@@
has ctx => (
isa => 'Catalyst',
is => 'ro',
lazy_fail => 1,
- metaclass => 'Reaction::Meta::Attribute'
+ metaclass => 'Reaction::Meta::Attribute',
+ weak_ref => 1,
);
sub parameter_attributes {