X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2Fconnections.cpp;h=b54c07b16620287b40684b98592a936b6b5c7e50;hp=864e55240081c6c083520d7efd2249bf67497c06;hb=7542f853b1a682ad9bf21b592f26e31e3b64521c;hpb=636b9f54ca8b7e51fadfac03cf9703648106c548 diff --git a/lib/python/connections.cpp b/lib/python/connections.cpp index 864e552..b54c07b 100644 --- a/lib/python/connections.cpp +++ b/lib/python/connections.cpp @@ -1,11 +1,14 @@ #include PSignal::PSignal() + :m_destroyed(0) { } PSignal::~PSignal() { + if (m_destroyed) + *m_destroyed = true; Py_XDECREF(m_list); }