fix unclosed transport warnings on tests
This commit is contained in:
parent
85db7d3ce7
commit
9411b26fd3
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ class Lbrycrd:
|
|||
self.transport.terminate()
|
||||
await self.protocol.stopped.wait()
|
||||
assert self.transport.get_returncode() == 0, "lbrycrd daemon exit with error"
|
||||
self.transport.close()
|
||||
finally:
|
||||
if cleanup:
|
||||
await self.cleanup()
|
||||
|
|
Loading…
Reference in a new issue