diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 11:14:31 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-27 11:14:31 +0000 |
| commit | 7542f853b1a682ad9bf21b592f26e31e3b64521c (patch) | |
| tree | 9659e518a97f81c61c310301b2fb07401b51e5e1 /lib/python/connections.cpp | |
| parent | 636b9f54ca8b7e51fadfac03cf9703648106c548 (diff) | |
| download | enigma2-7542f853b1a682ad9bf21b592f26e31e3b64521c.tar.gz enigma2-7542f853b1a682ad9bf21b592f26e31e3b64521c.zip | |
add workaround
Diffstat (limited to 'lib/python/connections.cpp')
| -rw-r--r-- | lib/python/connections.cpp | 3 |
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); } |
