Calling reset() with the owned handle should maintain ownership and not leak resources. Move assignment should also handle self-assignment without leaks. The new tests verifies that this holds true. Task-number: QTBUG-132507 Change-Id: Icdfa4d67b06b71a74e810593e57449b51982c98c Reviewed-by: Tim Blechmann <tim.blechmann@qt.io> (cherry picked from commit 03bd9491491881529ad28cd6d672edfdda9a0065) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 33f37ff6376835dc8add4e5d8273f3dc5e7b086d) |
||
|---|---|---|
| .. | ||
| animation | ||
| global | ||
| io | ||
| ipc | ||
| itemmodels | ||
| kernel | ||
| mimetypes | ||
| platform | ||
| plugin | ||
| serialization | ||
| text | ||
| thread | ||
| time | ||
| tools | ||
| CMakeLists.txt | ||