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

"Image Response Provider Example" doesn't use deleteLater for QObject

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.7
    • Examples and Demos
    • None

    Description

      Since AsyncImageResponseRunnable derives from QObject and QRunnable, it should have  

      setAutoDelete(false);
      connect(this, &AsyncImageResponseRunnable::done, this, &QObject::deleteLater); 
      

      in its constructor to avoid crashes in QQuickPixmapReader thread

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            nshaforostov Mykola Shaforostov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes