glib/gobject
Marco Trevisan (Treviño) e861f60dcb gobject: Cleanup weak locations when the last one has been removed
As per the previous change, an object that had weak locations set may
need to lock again the weak locations mutex during qdata cleanup, but
we can avoid this when we know we're removing the last location, by
removing the qdata entry and freeing the data.

In case a new location is needed for the same object, new data will be
added.

However, by doing this the weak locations during dispose may be
invalidated once the weak locations lock is passed, so check again if
this is the case while removing them.
2021-09-17 12:27:59 +02:00
..
2017-05-24 11:58:19 +02:00
2017-05-24 11:58:19 +02:00
2021-07-29 10:09:27 -04:00
2020-11-17 15:50:07 +00:00
2021-07-12 10:40:33 +00:00