mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 21:35:11 +01:00
pytest: Avoid leaking stdout fds
This commit is contained in:
parent
b13a972929
commit
3e0efb6f8d
@ -100,6 +100,7 @@ class TailableProc(object):
|
||||
logging.debug("%s: %s", self.prefix, line.decode().rstrip())
|
||||
self.logs_cond.notifyAll()
|
||||
self.running = False
|
||||
self.proc.stdout.close()
|
||||
|
||||
def is_in_log(self, regex):
|
||||
"""Look for `regex` in the logs."""
|
||||
|
Loading…
Reference in New Issue
Block a user