evas: protection during canvas shutdown.

This commit is contained in:
Cedric Bail 2018-04-10 14:02:48 -07:00
parent 5351070a4d
commit f1f1a8c996
1 changed files with 4 additions and 0 deletions

View File

@ -732,6 +732,10 @@ _check_event_catcher_del(void *data, const Efl_Event *event)
Evas_Object_Protected_Data *obj = data;
int i;
if (!obj->layer ||
!obj->layer->evas)
return ;
for (i = 0; array[i].desc != NULL; i++)
{
if (obj->layer->evas->gesture_manager)