Python/PySide: How can i destroy a terminated thread object?
问题 I would like to implement a button to stop a thread with a process, it works but not as expected: i can't delete the thread object. ( EDIT: The reference to the thread object seems to be deleted, but the signals are not disconnected automatically by deleting the thread object, i can access it anyway via the signal.) I have a modul with a class thread_worker and a function for complex processing which is running as process: from PySide.QtCore import * from PySide.QtGui import * import