From e1ea8e2b9821cd7e03dd34b5e5c3a5727cad06b0 Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 24 Jan 2020 15:24:43 +0100 Subject: [PATCH] supplement to - add sigc disconnect() to destructor, avoid segfault if use new/delete CUpnpBrowserGui in other menu --- src/gui/upnpbrowser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/upnpbrowser.h b/src/gui/upnpbrowser.h index 758613cc0..52445f227 100644 --- a/src/gui/upnpbrowser.h +++ b/src/gui/upnpbrowser.h @@ -66,6 +66,8 @@ class CUpnpBrowserGui : public CMenuTarget, public CListHelpers private: std::vector m_devices; + sigc::connection sigFonts; + sigc::connection sigPall; UPnPEntry m_playing_entry; CUPnPSocket * m_socket; CFrameBuffer * m_frameBuffer;