From: Tomas Doran Date: Mon, 31 Oct 2011 18:33:24 +0000 (+0000) Subject: The response no longer needs the context X-Git-Tag: 5.90008~16^2~10 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=684ca75d81f91dc5302f1654d7029c93be4f5a37 The response no longer needs the context --- diff --git a/lib/Catalyst.pm b/lib/Catalyst.pm index 9e77f31..3a8e5c3 100644 --- a/lib/Catalyst.pm +++ b/lib/Catalyst.pm @@ -2010,7 +2010,6 @@ sub prepare { # For on-demand data $c->request->_context($c); - $c->response->_context($c); #surely this is not the most efficient way to do things... $c->stats($class->stats_class->new)->enable($c->use_stats); diff --git a/lib/Catalyst/Response.pm b/lib/Catalyst/Response.pm index 185dc99..68ab474 100644 --- a/lib/Catalyst/Response.pm +++ b/lib/Catalyst/Response.pm @@ -43,11 +43,6 @@ has headers => ( required => 1, lazy => 1, ); -has _context => ( - is => 'rw', - weak_ref => 1, - clearer => '_clear_context', -); sub output { shift->body(@_) }