complete if exception

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

View file

@ -239,9 +239,10 @@ class Subscription:
info_json_listener.start()
yield
info_json_listener.complete = True
try:
yield
finally:
info_json_listener.complete = True
@contextlib.contextmanager
def _subscription_download_context_managers(self) -> None: