This commit is contained in:
2024-11-17 22:57:04 +01:00
parent 2a04cb1db3
commit 55212752f4

View File

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