Explicitly destroy zmq object when exiting without actually using it

This commit is contained in:
Jeff Frontz 2018-07-25 16:23:59 -04:00
parent a3b6ab088c
commit f1ec281230

View file

@ -34,6 +34,9 @@ class ZMQTest (BitcoinTestFramework):
]) ])
def run_test(self): def run_test(self):
# destroy() required for ubuntu docker hang workaround when
# exiting without actually messaging (remove with resolution of #TODO)
self.zmqContext.destroy(linger=0)
return #TODO return #TODO
self.sync_all() self.sync_all()