diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 1 | ||||
-rw-r--r-- | src/gui/widgets/tabs/guildchattab.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index d4eefe69c..664263518 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -71,6 +71,7 @@ AvatarListBox::AvatarListBox(const Widget2 *const widget, AvatarListBox::~AvatarListBox() { config.removeListeners(this); + CHECKLISTENERS instances--; diff --git a/src/gui/widgets/tabs/guildchattab.cpp b/src/gui/widgets/tabs/guildchattab.cpp index 4188a8843..69a4faaf3 100644 --- a/src/gui/widgets/tabs/guildchattab.cpp +++ b/src/gui/widgets/tabs/guildchattab.cpp @@ -49,6 +49,7 @@ GuildChatTab::GuildChatTab(const Widget2 *const widget) : GuildChatTab::~GuildChatTab() { config.removeListeners(this); + CHECKLISTENERS } bool GuildChatTab::handleCommand(const std::string &type, |