complete if exception
This commit is contained in:
parent
4693ae5e80
commit
a7008b3550
1 changed files with 4 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue