mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
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:
parent
de5f2d3308
commit
80e832662b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user