This is based on below upstream patch.
commit
38ba68a7c76784e86a7016efd1e69af251b62381
Author: Carsten Haitzler (Rasterman) <raster@rasterman.com>
Date: Tue Jul 5 22:55:16 2016 +0900
elm widget - stop segv during shutdown when objects become deleted
@fix
probably this stablizes our elm_shutdown a bit.
Change-Id: I99238e69070b77f704077cb7126d9bac335d7020
Signed-off-by: Amitesh Singh <amitesh.sh@samsung.com>
const Eo_Event_Description *desc EINA_UNUSED,
void *event_info EINA_UNUSED)
{
- ELM_WIDGET_DATA_GET(data, sd);
+ ELM_WIDGET_DATA_GET_OR_RETURN(data, sd, EINA_FALSE);
if (_elm_widget_is(obj))
{