Call handle_stop regardless

This commit is contained in:
Jesse Hills 2024-04-04 18:20:25 +13:00
parent a6f174c592
commit f4060410ad
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 1 additions and 1 deletions

View File

@ -1284,7 +1284,7 @@ class APIClient:
start_task.add_done_callback(_started)
# We hold a reference to the start_task in unsub function
# so we don't need to add it to the background tasks.
elif handle_audio is None:
else:
self._create_background_task(handle_stop())
remove_callbacks = []