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

QFuture::results() does not return results if future was canceled

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.0
    • Core: QtConcurrent
    • None
    • macOS

    Description

      After Cancelling a future that had some results added to it, QFuture::resultCount() will return > 0.

      At the same time, QFuture::results() will return an empty list. QFuture::resultAt() will still return the added values.

      This is unexpected.

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            madwinter Marcus Tillmanns
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes