added proper unregister calls in destructors of classes that register a event handler

This commit is contained in:
csoler 2020-01-31 22:37:21 +01:00
parent e6d16f6f39
commit 0cdce37af4
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
11 changed files with 20 additions and 0 deletions

View file

@ -83,6 +83,7 @@ void GxsForumsDialog::handleEvent_main_thread(std::shared_ptr<const RsEvent> eve
GxsForumsDialog::~GxsForumsDialog()
{
rsEvents->unregisterEventsHandler(mEventHandlerId);
}
QString GxsForumsDialog::getHelpString() const