Merge pull request #340 from hnyman/png-close-logspam
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Mar 2015 17:48:15 +0000 (18:48 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 10 Mar 2015 17:48:15 +0000 (18:48 +0100)
luci-statistics: fix uhttpd log spam from extra png close

applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua

index 329341d..c532b4a 100644 (file)
@@ -150,7 +150,6 @@ function statistics_render()
                if png then
                        luci.http.prepare_content("image/png")
                        l12.pump.all(l12.source.file(png), luci.http.write)
-                       png:close()
                end
                return
        end