diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-16 19:56:09 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-16 19:56:09 -0600 |
commit | 246b582ddf3c2ec4939be9d55018d97066d7fac8 (patch) | |
tree | e3b6f0f657326e8c3c43c05a5bd631d0156feb30 /actionpack/lib | |
parent | ec1bd987054479d279a181eec26827ec694a61cd (diff) | |
download | rails-246b582ddf3c2ec4939be9d55018d97066d7fac8.tar.gz rails-246b582ddf3c2ec4939be9d55018d97066d7fac8.tar.bz2 rails-246b582ddf3c2ec4939be9d55018d97066d7fac8.zip |
Remove CGI::Session memory leak patch
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_controller/base.rb | 5 |
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 |