X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FComponent%2FContextClosure.pm;h=23e1381dce98c337f0b76c7ecd4866f1fd248bda;hb=68c660b55f940bd018eccabdb7e3a7d734a7ef30;hp=475b9622bb6799fe3e761a60c3504861629b0360;hpb=c9f762d744cb30613f7804bb03733c90c1a45c0e;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Component/ContextClosure.pm b/lib/Catalyst/Component/ContextClosure.pm index 475b962..23e1381 100644 --- a/lib/Catalyst/Component/ContextClosure.pm +++ b/lib/Catalyst/Component/ContextClosure.pm @@ -6,7 +6,6 @@ use namespace::autoclean; sub make_context_closure { my ($self, $closure, $ctx) = @_; - my $weak_ctx = $ctx; weaken $ctx; return sub { $closure->($ctx, @_) }; }