change internal handling of media format types and don't scan cd before opening conte...
[enigma2.git] / lib / python / connections.cpp
index 864e55240081c6c083520d7efd2249bf67497c06..b54c07b16620287b40684b98592a936b6b5c7e50 100644 (file)
@@ -1,11 +1,14 @@
 #include <lib/python/connections.h>
 
 PSignal::PSignal()
+       :m_destroyed(0)
 {
 }
 
 PSignal::~PSignal()
 {
+       if (m_destroyed)
+               *m_destroyed = true;
        Py_XDECREF(m_list);
 }