Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.11.2
-
None
Description
https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources/pyside2/libpyside/globalreceiverv2.cpp
Lines 271-274:
if (m_refs.empty()) Py_BEGIN_ALLOW_THREADS delete this; Py_END_ALLOW_THREADS
Either this is a bug and all 3 lines should be within a code block, or the indentation on the last two lines is wrong. Considering in PySide(1) the code is the same but without the Py_BEGIN/END_ALLOW_THREADS, I'm guessing it's the former.