DEV: fake stdout must respond to close

If it does not respond to close Logger will refuse to use it
This commit is contained in:
Sam Saffron
2020-04-09 14:36:01 +10:00
parent de5f2d3308
commit 80e832662b

View File

@@ -80,6 +80,10 @@ class StdOutDemux
(@data[Thread.current] ||= +"") << data
end
def close
finish_chunk
end
def finish_chunk
data = @data[Thread.current]
if data