Details
Description
In 5.14.2 my app is not responding in Windows when I set variable isrun = False:
class AThread(QtCore.QThread): def run(self): while True: if widget.isrun: print("thread ping") else: self.terminate() time.sleep(1)
But without using variable isrun, just by mythread.terminate() - it's ok.
Maybe it's because "terminate" is inside "while True", but before update it has been working.
In 5.14.1 and 5.13.2 it's ok.
Python 3.8.2, PySide2-5.14.2.1-5.14.2-cp35.cp36.cp37.cp38-none-win32.whl (from pip)
Example related.
Attachments
Issue Links
- relates to
-
PYSIDE-1332 REG->5.15.0: QThread.wait() and QWaitCondition.wait() cause hard crash
- Closed