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

Image provider can be destroyed while it is still used by the QML engine

    XMLWordPrintable

Details

    • c8827b444c23656f67feee2e3ebd4f2868ab3db7

    Description

      If removeImageProvider is called for asynchronous image providers at the right time, QML engine might be still using the engine in another thread when it is being destroyed.

      QQmlEngine::imageProvider() simply returns a raw pointer and thus removeImageProvider() is able to just destroy the image provider through QSharedPointer.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes