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

Mention that deletion of QNetworkReply is users responsibility in get()/post()

    XMLWordPrintable

Details

    Description

      These could have a note that user is responsible for deleting the reply once it has finished:
      https://doc.qt.io/qt-6/qnetworkaccessmanager.html#get
      https://doc.qt.io/qt-6/qnetworkaccessmanager.html#post

      There is a note in Detailed Description which could maybe be duplicated there:

      Note: After the request has finished, it is the responsibility of the user to delete the QNetworkReply object at an appropriate time. Do not directly delete it inside the slot connected to finished(). You can use the deleteLater() function.

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes