diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-26 11:02:56 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-06-28 08:25:11 +0200 |
commit | 46ab90a5f9493ba0687834e6fa83413ca2437ce5 (patch) | |
tree | 44c9199067dced397b8ec1534dcf3513678b42b1 /build_history | |
parent | 0c582b55984c5aa2490e807b9cf6010656fa10d5 (diff) |
PySide6/SignalManager: Fix memory leaks connecting free methods/lambdas
Change 1270a9e82e5bc3bd53a1131698ece60403da1192 changed the deletion
of global receivers from listening to QObject::destroyed() (which
caused thread issues) to using QPointer<> and purging the lists in
notify. What is missing was the deletion of global receivers that are
not tied by weak reference to a Python instance. Add a check in
notify() to clean out the empty global receivers.
Pick-to: 6.5
Fixes: PYSIDE-2371
Fixes: PYSIDE-2299
Task-number: PYSIDE-2141
Change-Id: I39dca2a21088930c9a7f8e5eb7e948b3fff49b4b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'build_history')
-rw-r--r-- | build_history/blacklist.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/build_history/blacklist.txt b/build_history/blacklist.txt index 1da2b0ca0..475e5d40e 100644 --- a/build_history/blacklist.txt +++ b/build_history/blacklist.txt @@ -6,10 +6,6 @@ linux darwin win32 -[signals::anonymous_slot_leak_test] - linux - darwin - win32 [Qt3DExtras::qt3dextras_test] win32 ci linux |