Skip to content
Browse files

GC in ensure, just to make sure

  • Loading branch information...
1 parent 4f2f436 commit 01bd77aa6a3f98a1196b96b06945ab3ae78c19a9 @manveru manveru committed Jan 11, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rack/garbagecollector.rb
View
4 lib/rack/garbagecollector.rb
@@ -6,9 +6,9 @@ def initialize(app)
end
def call(env)
- res = @app.call(env)
+ @app.call(env)
+ ensure
GC.start
- res
end
end
end

0 comments on commit 01bd77a

Please sign in to comment.
Something went wrong with that request. Please try again.