projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix garbage collection (Modules/gcmodule.c:380: move_unreachable: Assertion
[vuplus_dvbapp]
/
lib
/
python
/
connections.cpp
diff --git
a/lib/python/connections.cpp
b/lib/python/connections.cpp
index
00f33f7
..
864e552
100644
(file)
--- a/
lib/python/connections.cpp
+++ b/
lib/python/connections.cpp
@@
-20,10
+20,12
@@
void PSignal::callPython(ePyObject tuple)
}
}
-PyObject *PSignal::get()
+PyObject *PSignal::get(
bool steal
)
{
- if (!m_list)
- m_list = PyList_New(0);
- Py_INCREF(m_list);
+ if (!steal) {
+ if (!m_list)
+ m_list = PyList_New(0);
+ Py_INCREF(m_list);
+ }
return m_list;
}