Fix crash issue on isf-panel-efl 19/223619/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Fri, 31 Jan 2020 07:55:23 +0000 (16:55 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Fri, 31 Jan 2020 07:55:23 +0000 (16:55 +0900)
Change-Id: I0e5673b4035e58402977290af0a78776733eff93
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
ism/modules/panelagent/wayland/wayland_panel_agent_module.cpp

index 7869536..b09d1c9 100644 (file)
@@ -871,12 +871,14 @@ _wsc_im_deactivate (void *data, struct wl_input_method *input_method, struct wl_
         _wl_im_ctx->need_focus_event = EINA_FALSE;
     }
     wsc->wsc_ctx->input_panel_shown_once = EINA_FALSE;
+
+    if (_launch_ise_on_request)
+        wl_im_destroy ();
 }
 
 static void
 _wsc_im_destroy (void *data, struct wl_input_method *input_method, struct wl_input_method_context *im_ctx)
 {
-    wl_im_destroy ();
 }
 
 static void