fix: ensure twitchchannel dtor doesn't do stuff if we're quitting (#6271)

This commit is contained in:
pajlada
2025-06-15 14:09:28 +02:00
committed by GitHub
parent faa435c957
commit 7f9dfd4aea
+5
View File
@@ -191,6 +191,11 @@ TwitchChannel::TwitchChannel(const QString &name)
TwitchChannel::~TwitchChannel()
{
if (isAppAboutToQuit())
{
return;
}
getApp()->getTwitch()->dropSeventvChannel(this->seventvUserID_,
this->seventvEmoteSetID_);