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

    • c8827b444c23656f67feee2e3ebd4f2868ab3db7

      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.

        1. qtbug76527.tar.gz
          1 kB
          Joni Poikelin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes