emotion: call shutdown when smart objects are destroyed
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 27 Mar 2018 20:01:53 +0000 (16:01 -0400)
committerWonki Kim <wonki_.kim@samsung.com>
Tue, 10 Apr 2018 13:25:47 +0000 (22:25 +0900)
the constructor calls init for every object, so ensure a matching
shutdown call exists to balance the init count

ref 517471190f87e473e3bc38584c23ae28fb772c7c
ref T6816

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
src/lib/emotion/emotion_smart.c

index d84e5a1..c0ce707 100644 (file)
@@ -1933,6 +1933,7 @@ _efl_canvas_video_efl_canvas_group_group_del(Evas_Object *obj EINA_UNUSED, Efl_C
    sd->ref.file = NULL;
    _xattr_data_unref(sd->xattr);
    efl_canvas_group_del(efl_super(obj, MY_CLASS));
+   emotion_shutdown();
 }
 
 EOLIAN static void