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

QObject::deleteLater() does not work properly from CActive::RunL method(in Symbian)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 4.7.4
    • Core: Event loop
    • latest Belle sw, Nokia N8
    • c47cd8f01ea5d3f2a6d0ea73572d9735947919a0

    Description

      Deletion of QNetworkAccessManager object does not work properly from CActive::RunL method in Symbian even if daleteLater() operation is used.

      Steps to reproduce:
      1. Install and execute attached multipleQnamInRow app in the device. Check that active network connection has been disappeared when "test finished" text appears on the screen. Use Settings->Connectivity->Connection manager tool for this check. See also from multipleQnamInRow.txt log file that destructor of ~QTcpSocket is called.
      2. Install and execute attached qNamDeletedByActiveObject app in the device. You can see that active network connection has not been disappeared when "test finished" text appears on the screen. Use Settings->Connectivity->Connection manager tool for this check. See also from qNamDeletedByActiveObject.txt log file that destructor of ~QTcpSocket is not called.

      Attachments

        1. multipleQnamInRow.txt
          30 kB
          Tarmo Lehto
        2. multiple-qnam-in-row.zip
          11 kB
          Tarmo Lehto
        3. qNamDeletedByActiveObject.txt
          28 kB
          Tarmo Lehto
        4. qNamDeletedByActiveObject.zip
          12 kB
          Tarmo Lehto

        Issue Links

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

          Activity

            People

              shkearns Shane Kearns
              tarmo Tarmo Lehto (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes