From 9411b26fd32bd51f57caf74c4732aea78cd7801c Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 3 Aug 2020 03:30:29 -0300 Subject: [PATCH] fix unclosed transport warnings on tests --- lbry/blockchain/lbrycrd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lbry/blockchain/lbrycrd.py b/lbry/blockchain/lbrycrd.py index 227681f37..8f2549e70 100644 --- a/lbry/blockchain/lbrycrd.py +++ b/lbry/blockchain/lbrycrd.py @@ -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()