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

Details

    • 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)

    Description

      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.

      Attachments

        1. bug.py
          2 kB
        2. pyside2646_log.txt
          2 kB
        3. pyside2646_pyqt.py
          5 kB
        4. pyside2646.py
          6 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: