Fix potential event sub freeze on disconnect

This commit is contained in:
WarmUpTill
2026-04-29 14:18:05 +02:00
committed by WarmUpTill
parent 10daa38921
commit 8c51b44fbb
2 changed files with 5 additions and 6 deletions

View File

@@ -87,6 +87,7 @@ static bool setupTwitchTokenSupport()
{
AddSaveStep(saveConnections);
AddLoadStep(loadConnections);
AddPluginCleanupStep([]() { twitchTokens.clear(); });
return true;
}