mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-23 08:20:01 +01:00
dbe67bf32b
When a closure involves an ObjectHelper, a connection is made from the receiver's destroyed signal and the helper object's deleteLater slot. Since the signal between the sender and the helper object isn't disconnected until either object is actually destroyed, this leaves a hole where the helper holds a pointer to an invalid receiver object, but is still able to receive the signal connected to its Invoke slot. Instead of connecting the destroyed signal to deleteLater, connect it to a new TearDown slot that immediately disconnects the signal then calls deleteLater. |
||
---|---|---|
.. | ||
clementine-spotifyblob | ||
clementine-tagreader | ||
libclementine-common | ||
libclementine-remote | ||
libclementine-spotifyblob | ||
libclementine-tagreader |