lib/clogger/pure.rb in clogger-0.0.6 vs lib/clogger/pure.rb in clogger-0.0.7
- old
+ new
@@ -45,10 +45,10 @@
ensure
log(@env, @status, @headers)
end
def close
- @body.close
+ @body.close if @body.respond_to?(:close)
end
def reentrant?
@reentrant
end