make sure nil @session doesn't mess up wsod stacktraces

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2006-03-10 14:41:37 +00:00
parent ffec8c6b00
commit bfbbd4c346

@ -143,7 +143,7 @@ def assign_shortcuts_with_flash(request, response) #:nodoc:
end
def process_cleanup_with_flash
flash.sweep
flash.sweep if @session
process_cleanup_without_flash
end