The implementation checks the state and returns without storing the exception when its canceled or finished. Add tests for both situations. Done-with: Ivan Solovev <ivan.solovev@qt.io> (analysis and phrasing) Pick-to: 6.5 6.2 Fixes: QTBUG-128405 Change-Id: I4610a022ea12e1bc9ce24cb17b972b5b9e051f0a Reviewed-by: Ivan Solovev <ivan.solovev@qt.io> (cherry picked from commit 6efec3850da188d3bba075185aa6e5c264c815eb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%