From 7f9dfd4aea70a59e1e6efbd68d0ae77f482301ab Mon Sep 17 00:00:00 2001 From: pajlada Date: Sun, 15 Jun 2025 14:09:28 +0200 Subject: [PATCH] fix: ensure twitchchannel dtor doesn't do stuff if we're quitting (#6271) --- src/providers/twitch/TwitchChannel.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/providers/twitch/TwitchChannel.cpp b/src/providers/twitch/TwitchChannel.cpp index 4a67980c..f5d52b18 100644 --- a/src/providers/twitch/TwitchChannel.cpp +++ b/src/providers/twitch/TwitchChannel.cpp @@ -191,6 +191,11 @@ TwitchChannel::TwitchChannel(const QString &name) TwitchChannel::~TwitchChannel() { + if (isAppAboutToQuit()) + { + return; + } + getApp()->getTwitch()->dropSeventvChannel(this->seventvUserID_, this->seventvEmoteSetID_);