aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-12-16 19:56:09 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-16 19:56:09 -0600
commit246b582ddf3c2ec4939be9d55018d97066d7fac8 (patch)
treee3b6f0f657326e8c3c43c05a5bd631d0156feb30 /actionpack
parentec1bd987054479d279a181eec26827ec694a61cd (diff)
downloadrails-246b582ddf3c2ec4939be9d55018d97066d7fac8.tar.gz
rails-246b582ddf3c2ec4939be9d55018d97066d7fac8.tar.bz2
rails-246b582ddf3c2ec4939be9d55018d97066d7fac8.zip
Remove CGI::Session memory leak patch
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb
index 0b32da55d5..454ef4ffac 100644
--- a/actionpack/lib/action_controller/base.rb
+++ b/actionpack/lib/action_controller/base.rb
@@ -1160,13 +1160,8 @@ module ActionController #:nodoc:
def reset_session #:doc:
request.reset_session
@_session = request.session
- #http://rails.lighthouseapp.com/projects/8994/tickets/1558-memory-problem-on-reset_session-in-around_filter#ticket-1558-1
- #MRI appears to have a GC related memory leak to do with the finalizer that is defined on CGI::Session
- ObjectSpace.undefine_finalizer(@_session)
- response.session = @_session
end
-
private
def render_for_file(template_path, status = nil, layout = nil, locals = {}) #:nodoc:
logger.info("Rendering #{template_path}" + (status ? " (#{status})" : '')) if logger