fix asan bug 42/215742/2
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 15 Oct 2019 07:07:44 +0000 (16:07 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 15 Oct 2019 07:12:21 +0000 (16:12 +0900)
Change-Id: I88a0a0a607befc2ca3437d703994d0fc3d9b5b2e

src/e_mod_effect.c

index 69002ed..76ec16b 100644 (file)
@@ -996,9 +996,9 @@ _eff_cb_hidden_done(void *data, Evas_Object *obj, const char *sig, const char *s
                {
                   _eff_object_layer_down(ec);
                   evas_object_hide(ec->frame);
+                  e_comp_object_effect_hiding_set(ec->frame, 0);
                }
           }
-        e_comp_object_effect_hiding_set(ec->frame, 0);
      }
 }
 
@@ -1213,9 +1213,11 @@ _eff_cb_iconify_done(void *data, Evas_Object *obj, const char *sig, const char *
         if (_eff_unref(ec))
           {
              if (_eff_client_get(ec))
-               evas_object_hide(ec->frame);
+               {
+                  evas_object_hide(ec->frame);
+                  e_comp_object_effect_hiding_set(ec->frame, 0);
+               }
           }
-        e_comp_object_effect_hiding_set(ec->frame, 0);
      }
 }
 
@@ -1313,9 +1315,9 @@ _eff_cb_restack_hide_done(void *data, Evas_Object *obj, const char *sig, const c
                   e_comp_object_signal_emit(ec->frame,
                                             "e,action,restack,finish",
                                             "e");
+                  e_comp_object_effect_hiding_set(ec->frame, 0);
                }
           }
-        e_comp_object_effect_hiding_set(ec->frame, 0);
      }
 
    _eff_stack_update();