-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
None
-
-
51d04d091 (dev), 1101944d2 (6.10), 1adb43b6e (dev), 8eba40021 (6.10), f632adcd4 (6.9), 4a86c6198 (6.9), ef32a096a (tqtc/lts-6.8), 04099a57a (tqtc/lts-6.8)
Sample code:
QPromise<int> promise{QFutureInterface<int>{QFutureInterfaceBase::State::Pending}}; promise.future().takeResult(); // should not assert, before wait ! promise.future().result(); // works correctly, waits forever for result
The problem is in
and in
For Gerrit Dashboard: QTBUG-139119 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
667935,7 | Don't assert if the QFuture is in pending state | dev | qt/qtbase | Status: MERGED | +2 | 0 |
669981,2 | Don't assert if the QFuture is in pending state | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
670071,2 | Don't assert if the QFuture is in pending state | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
671660,3 | tst_QFuture: skip newly-added test when compiling without cxx11_future | dev | qt/qtbase | Status: MERGED | +2 | 0 |
671822,2 | tst_QFuture: skip newly-added test when compiling without cxx11_future | 6.10 | qt/qtbase | Status: MERGED | +2 | 0 |
672025,3 | tst_QFuture: skip newly-added test when compiling without cxx11_future | 6.9 | qt/qtbase | Status: MERGED | +2 | 0 |
672120,2 | Don't assert if the QFuture is in pending state | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
672121,2 | tst_QFuture: skip newly-added test when compiling without cxx11_future | tqtc/lts-6.8 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |