forked from LBRYCommunity/lbry-sdk
Merge pull request #3012 from lbryio/unclosed_warnings_fix
fix unclosed transport warnings on tests
This commit is contained in:
commit
a7555932a9
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