fix: ensure twitchchannel dtor doesn't do stuff if we're quitting (#6271)
This commit is contained in:
@@ -191,6 +191,11 @@ TwitchChannel::TwitchChannel(const QString &name)
|
|||||||
|
|
||||||
TwitchChannel::~TwitchChannel()
|
TwitchChannel::~TwitchChannel()
|
||||||
{
|
{
|
||||||
|
if (isAppAboutToQuit())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
getApp()->getTwitch()->dropSeventvChannel(this->seventvUserID_,
|
getApp()->getTwitch()->dropSeventvChannel(this->seventvUserID_,
|
||||||
this->seventvEmoteSetID_);
|
this->seventvEmoteSetID_);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user