This commit is contained in:
2024-11-17 22:33:56 +01:00
parent 5ae6816873
commit 1d4aaf9885

View File

@@ -84,7 +84,9 @@ class TwitchService:
while True:
await sleep(0.1)
finally:
await eventsub.unsubscribe_all_known()
await eventsub.stop()
await self.twitch.close()
raise RuntimeError("Twitch service stopped")