mirror of https://github.com/nathom/streamrip.git
close client session on teardown, fixes error messages
This commit is contained in:
parent
8bb5fc9b23
commit
0ba450dcfe
|
@ -21,4 +21,6 @@ def qobuz_client():
|
|||
client = QobuzClient(config)
|
||||
arun(client.login())
|
||||
|
||||
return client
|
||||
yield client
|
||||
|
||||
arun(client.session.close())
|
||||
|
|
Loading…
Reference in New Issue