mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user