On Thu, 29 Mar 2012 19:22:10 +0800, Goldfish Huang
wrote:
> Hi, all.
>
> I am doubted how SIP deal with QObject's cycle reference, when I try
> to fix some unknown memory leaks. It seems that SIP only keep a
> reference to QObject, whatever how many children it has. Then a
> QObject must have no
creating/deleting children does not change the refcount
of a QObject, since this is done purely in C++
On Thu, 2012-03-29 at 19:22 +0800, Goldfish Huang wrote:
> Hi, all.
>
> I am doubted how SIP deal with QObject's cycle reference, when I try
> to fix some unknown memory leaks. It seems that SI
Hi, all.
I am doubted how SIP deal with QObject's cycle reference, when I try
to fix some unknown memory leaks. It seems that SIP only keep a
reference to QObject, whatever how many children it has. Then a
QObject must have not less than 2 reference count, one from Python and
another from SIP. Th