complete if exception

This commit is contained in:
jbannon 2022-07-22 05:29:04 +00:00
parent 4693ae5e80
commit a7008b3550

View file

@ -239,8 +239,9 @@ class Subscription:
info_json_listener.start() info_json_listener.start()
try:
yield yield
finally:
info_json_listener.complete = True info_json_listener.complete = True
@contextlib.contextmanager @contextlib.contextmanager