From ee50e0951b2694b199ddd9cfaf54d001f869be01 Mon Sep 17 00:00:00 2001 From: jolavillette Date: Thu, 11 Dec 2025 15:16:21 +0100 Subject: [PATCH] Fix unregister event handler in ChatUserNotify destructor --- retroshare-gui/src/gui/chat/ChatUserNotify.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/retroshare-gui/src/gui/chat/ChatUserNotify.cpp b/retroshare-gui/src/gui/chat/ChatUserNotify.cpp index 3cfdd9b88..f85b3dca9 100644 --- a/retroshare-gui/src/gui/chat/ChatUserNotify.cpp +++ b/retroshare-gui/src/gui/chat/ChatUserNotify.cpp @@ -84,6 +84,7 @@ ChatUserNotify::ChatUserNotify(QObject *parent) : ChatUserNotify::~ChatUserNotify() { + rsEvents->unregisterEventsHandler(mEventHandlerId); instance = 0; }