Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SignalSpy: manually disconnect from target signal when we're destroyed
The SignalSpy is potentially destroyed before the target object, and since only the sender (target) being destroyed destroys a connection in QML, and not the receiver (SignalSpy), we need to manually disconnect. When QTBUG-118166 is implemented, we can remove this. Task-number: QTBUG-118163 Pick-to: 6.5 6.2 Change-Id: I76aaffba114a6db5b5aab6a2ff58541aa3b2e025 Reviewed-by: Fabian Kosmale <[email protected]> (cherry picked from commit fd7459a) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
- Loading branch information