Merge pull request #3069 from jolavillette/FixUnregisterEventHandlerInChatUserNotifyDestructor
Some checks failed
macOS Build / build (push) Has been cancelled
MINGW64 Qt6 Build / build (push) Has been cancelled
MINGW64 Qt5 Build / build (push) Has been cancelled
UCRT64 Qt5 Build / build (push) Has been cancelled
Ubuntu Qt 5 C/C++ CI / build (push) Has been cancelled
Ubuntu Qt 6 C/C++ CI / build (push) Has been cancelled

Fix unregister event handler in ChatUserNotify destructor
This commit is contained in:
csoler 2025-12-11 15:27:55 +01:00 committed by GitHub
commit f9cda759ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -84,6 +84,7 @@ ChatUserNotify::ChatUserNotify(QObject *parent) :
ChatUserNotify::~ChatUserNotify()
{
rsEvents->unregisterEventsHandler(mEventHandlerId);
instance = 0;
}