diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-09 15:33:59 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-10-09 16:00:48 +0200 |
| commit | c866be38d9c14555c897a85e5b51c5e0f8347964 (patch) | |
| tree | 0cd0224910aa3d8b85ccd10dbb2cb30c589a70ae /tools/release_notes/main.py | |
| parent | 39b0b466bf90ff3f0e1634359fbfc9c0e528a484 (diff) | |
Fix disconnecting from C functions (qobject_connect_notify_test flakyness)
Callables wrapping C-function and their objects (as returned by
"qobject.deleteLater()") may be temporary objects like methods.
For the connection cache key, use self and the actual C-function
as so that a disconnect succeeds.
This did not show in the old design since the disconnect code
did expensive checks to retrieve the slot index of the function
and used the index code path.
Amends 33bd61d13d8d9e3794b6049891be62f3351313d9.
Pick-to: 6.8
Task-number: PYSIDE-2810
Task-number: PYSIDE-2221
Change-Id: Ic33af0d5da60589df16ca35c17824da592910a4d
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'tools/release_notes/main.py')
0 files changed, 0 insertions, 0 deletions
