Added unregisterEventsHandler to destructor of MessagesDialog

This commit is contained in:
thunder2 2021-12-30 13:13:38 +01:00
parent 478fc5e8f9
commit c01f98feb9

View File

@ -356,6 +356,8 @@ MessagesDialog::~MessagesDialog()
{ {
// save settings // save settings
processSettings(false); processSettings(false);
rsEvents->unregisterEventsHandler(mEventHandlerId);
} }
UserNotify *MessagesDialog::createUserNotify(QObject *parent) UserNotify *MessagesDialog::createUserNotify(QObject *parent)