Remove releaseWrapper as Signal tp_dealloc
It was being called when the Signal was garbage collected, resulting in a segfault. Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Reviewer: Renato Filho <renato.filho@openbossa.org>
This commit is contained in:
parent
a82deb1de2
commit
b7f36fec39
3 changed files with 18 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ PyTypeObject PySideSignalType = {
|
|||
/*tp_name*/ "PySide.QtCore."SIGNAL_CLASS_NAME,
|
||||
/*tp_basicsize*/ sizeof(SignalData),
|
||||
/*tp_itemsize*/ 0,
|
||||
/*tp_dealloc*/ &Shiboken::deallocWrapper,
|
||||
/*tp_dealloc*/ 0,
|
||||
/*tp_print*/ 0,
|
||||
/*tp_getattr*/ 0,
|
||||
/*tp_setattr*/ 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue