aboutsummaryrefslogtreecommitdiff
path: root/lib/python/connections.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 11:14:31 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-27 11:14:31 +0000
commit7542f853b1a682ad9bf21b592f26e31e3b64521c (patch)
tree9659e518a97f81c61c310301b2fb07401b51e5e1 /lib/python/connections.cpp
parent636b9f54ca8b7e51fadfac03cf9703648106c548 (diff)
downloadenigma2-7542f853b1a682ad9bf21b592f26e31e3b64521c.tar.gz
enigma2-7542f853b1a682ad9bf21b592f26e31e3b64521c.zip
add workaround
Diffstat (limited to 'lib/python/connections.cpp')
-rw-r--r--lib/python/connections.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/connections.cpp b/lib/python/connections.cpp
index 864e5524..b54c07b1 100644
--- a/lib/python/connections.cpp
+++ b/lib/python/connections.cpp
@@ -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);
}