Do not invoke resize method if geom is being withered.

PR:		211028
MFC after:	2 weeks
This commit is contained in:
ae 2016-07-25 09:12:08 +00:00
parent 0b48f31d1d
commit b147780d99

View File

@ -636,7 +636,7 @@ g_resize_provider_event(void *arg, int flag)
LIST_FOREACH_SAFE(cp, &pp->consumers, consumers, cp2) {
gp = cp->geom;
if (gp->resize != NULL)
if ((gp->flags & G_GEOM_WITHER) == 0 && gp->resize != NULL)
gp->resize(cp);
}