Skip to content

Backport !1692 “gsignal: Plug g_signal_connect_object leak” to glib-2-66

commit 916297be added a hash table to provide constant time lookups of signal handlers.

Unfortunately, that commit neglected to remove handlers from g_signal_connect_object calls from the hash table that are disconnected implicitly when the associated object goes away.

This commit addresses that bug by changing the closure invalidate handler associated with the signal connection to properly remove the handler from the hash table.


Trivial backport of !1692 (merged) to glib-2-66.

Merge request reports