mirror of
https://github.com/RetroShare/RetroShare.git
synced 2026-09-14 11:06:01 +05:00
Merge pull request #3069 from jolavillette/FixUnregisterEventHandlerInChatUserNotifyDestructor
Fix unregister event handler in ChatUserNotify destructor
This commit is contained in:
commit
f9cda759ec
@ -84,6 +84,7 @@ ChatUserNotify::ChatUserNotify(QObject *parent) :
|
||||
|
||||
ChatUserNotify::~ChatUserNotify()
|
||||
{
|
||||
rsEvents->unregisterEventsHandler(mEventHandlerId);
|
||||
instance = 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user