Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2646

[REG: 6.2->6.5] Connections to lambda or nested function prevent destruction of objects they refer to

XMLWordPrintable

    • 47d6abbd7 (dev), 9529690b4 (dev), 16bedacb1 (6.7), 1d429a7b5 (6.7), 24f39fa50 (6.6), eaff347f5 (6.6), eec4d27a4 (tqtc/lts-6.5), c777151d2 (tqtc/lts-6.5), c174421fa (dev), 279658b85 (dev), 24cca3617 (6.7), 66a58efd8 (6.7), 3cafacbbf (6.6), ef3c3697b (dev)

      Seems similar to PYSIDE-2371, but the fix there didn't fix this case.

      In attached example, QSlider and QSpinBox are not destroyed until when the whole process exits.

        1. bug.py
          2 kB
          Joni Poikelin
        2. pyside2646_log.txt
          2 kB
          Friedemann Kleint
        3. pyside2646.py
          6 kB
          Friedemann Kleint
        4. pyside2646_pyqt.py
          5 kB
          Friedemann Kleint
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kleint Friedemann Kleint
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: