Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-20377

QML garbage collector not destroying all objects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 4.7.3
    • None
    • Windows XP, VS2008
    • 5d62a90fe129b09ecc6526ccd815469ef4ff774d

    Description

      The QML garbage collector doesn't seem to destroy all objects in some cases. Attached is an example, which demonstrates the problem. If you run it you see that only one instance of MyObject is destroyed (the one instantiated in qml), the other one created by a call to c++ never has its destructor invoked.

      Attachments

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

        Activity

          People

            tmcguire Thomas McGuire
            mawiesma Martin Wiesmann (closed Nokia identity) (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes