mirror of
https://github.com/brl/mutter.git
synced 2025-01-12 20:52:37 +00:00
3d94c7cc2d
`clutter_actor_iter_destroy` will try to match up the iterator's `age` with that of the parent ("root") actor: ``` g_return_if_fail (ri->age == ri->root->priv->age); ``` In a simple actor graph that's completely reasonable but somewhere in the more complex graph of gnome-shell the parent's `age` was skipping ahead faster than that of the iterator. This could happen in theory if the destroy indirectly leads to more children being destroyed than the iterator has visited. So there's no evidence of actual corruption, only the age check might fail in a `clutter_actor_iter_destroy` loop because the age check itself can't handle all possible valid scenarios. Since our only mandate is to destroy all children, we can do that reliably without an iterator and thus without assuming anything about the parent's `age` counter. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4747 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2074> |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |