complete if exception
This commit is contained in:
parent
4693ae5e80
commit
a7008b3550
1 changed files with 4 additions and 3 deletions
|
|
@ -239,8 +239,9 @@ class Subscription:
|
|||
|
||||
info_json_listener.start()
|
||||
|
||||
try:
|
||||
yield
|
||||
|
||||
finally:
|
||||
info_json_listener.complete = True
|
||||
|
||||
@contextlib.contextmanager
|
||||
|
|
|
|||
Loading…
Reference in a new issue