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; }