mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
If the closure is invalidated we drop the ref on the signal handler node, but if the signal is currently being dispatched, the ref could be held elsewhere. Flag that we no longer have an outstanding invalidation handler so that we don't try to unregister ourselves when the other ref drops. Add a testcase that catches this situation.