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

qmlRegisterType types never go away

XMLWordPrintable

    • 9b5a55101d7c519446c1cf3706a235dea81ad4de

      When types are registered using qmlRegisterType there is no way to unregister them save for restarting the application. This leads to problems when you want to change the types available to the application
      1) Re-registered types on top of the same uri/version/name lead to a memory leak because the inaccessible previous type information is still there
      2) There is no way to remove a Type save for overwriting it with an invalid type registration (which still leaves a memory leak).

      Some API should be added to allow flushing of the global type cache.

        For Gerrit Dashboard: QTBUG-28572
        # Subject Branch Project Status CR V

            aalpert Alan Alpert
            aalpert Alan Alpert
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes