Flush stdio to prevent buffering multiple debugging messages when redirecting output to file.

pull/1012/head
Frans de Jonge 10 years ago
parent f3d5d5b030
commit 65d3cacd7c

@ -21,6 +21,7 @@ local function LvDEBUG(lv, ...)
android.LOGI("#"..line)
else
print("#"..line)
io.flush()
end
end

Loading…
Cancel
Save