# File lib/rack/session/moneta.rb, line 58 def with_lock(env) @mutex.lock if env['rack.multithread'] yield ensure @mutex.unlock if @mutex.locked? end