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

gc() doesnt remove JSOwned objects properly.

    XMLWordPrintable

Details

    Description

      Run the attached example,
      obj1 and obj2 JSowned objects(1 by default and 2 explicitly)

      clicking on red rect calls gc().
      It removes obj2 though it is still referenced in Qml.

      Attachments

        1. objectOwnership.zip
          20 kB
          Indrajit Tapadar
        2. objectOwnership1.zip
          21 kB
          Sebastian Paluch
        3. objectOwnership52.zip
          19 kB
          Risto Avila
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ablasche Alex Blasche
            tapadar Indrajit Tapadar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes