From 7542f853b1a682ad9bf21b592f26e31e3b64521c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 27 Oct 2008 11:14:31 +0000 Subject: add workaround --- lib/python/connections.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/connections.cpp') 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 PSignal::PSignal() + :m_destroyed(0) { } PSignal::~PSignal() { + if (m_destroyed) + *m_destroyed = true; Py_XDECREF(m_list); } -- cgit v1.2.3