Hi!

Got problems with the following code:

 

from PySide import QtCore

 

def onDestroy(*args):

    print('destroyed')

 

obj = QtCore.QObject()

obj.destroyed.connect(onDestroy)

 

 

The onDestroy() method is not called, unless del(obj) is called explicitly.
In PyQt4 it is called without del(obj). Is that a bug or intended behavior?
I'm using Qt 4.8.2, PySide 1.1.2 32bit, Windows 7-64

 

Thanks.

 

_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to