Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.1
-
None
-
59e21a536 (dev), f89d80c90 (6.7), d5528cdec (6.6)
Description
A continuation with context on a QFuture will still execute even if the context was deleted, this was working fine in Qt 6.5.2.
A workaround is capture the context via QPointer and check in the continuation.
Attachments
Issue Links
- relates to
-
QTBUG-112513 QFuture continuation segfaults with move only datatypes
- Closed
-
QTBUG-119579 [Reg 6.5 -> 6.6] Calling QPromise::finish() from the same thread deadlocks i
- Closed
-
QTBUG-112958 QFuture: gracefully handle a destroyed context in continuations
- Closed
For Gerrit Dashboard: QTBUG-119810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
520860,15 | QFuture: Don't use QFutureCallOutInterface for continuations | dev | qt/qtbase | Status: MERGED | +2 | 0 |
525172,2 | QFuture: Don't use QFutureCallOutInterface for continuations | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |
525292,2 | QFuture: Don't use QFutureCallOutInterface for continuations | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |