actor: Ignore paint() on actors being destroyed
OBVIOUS OPTIMIZATION IS OBVIOUS
This commit is contained in:
parent
56097df60c
commit
c646a366c6
@ -2661,6 +2661,9 @@ clutter_actor_paint (ClutterActor *self)
|
||||
|
||||
g_return_if_fail (CLUTTER_IS_ACTOR (self));
|
||||
|
||||
if (CLUTTER_ACTOR_IN_DESTRUCTION (self))
|
||||
return;
|
||||
|
||||
priv = self->priv;
|
||||
|
||||
context = _clutter_context_get_default ();
|
||||
|
Loading…
Reference in New Issue
Block a user