From 34a7b5a90f7634185fc82d0e857c067a6d44dcff Mon Sep 17 00:00:00 2001 From: dyamy-lee Date: Wed, 8 Sep 2021 19:36:53 +0900 Subject: [PATCH] mmifw-ipc : rpc_port_proxy_mmifw_destroy() remove list of callback handler, so delete duplication removing callback handler Change-Id: I3cc07db48ec57fb780fb8f7fef37a1dc6527d4d3 --- src/mmifw-ipc.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/mmifw-ipc.c b/src/mmifw-ipc.c index 8f47fe9..ed2d52e 100644 --- a/src/mmifw-ipc.c +++ b/src/mmifw-ipc.c @@ -686,14 +686,9 @@ mmi_ipc_shutdown(void) rpc_port_proxy_mmifw_invoke_deregister_cb(_rpc_h); - rpc_port_mmifw_focus_event_cb_destroy(focus_cb_h); - rpc_port_mmifw_state_change_event_cb_destroy(state_change_cb_h); - rpc_port_mmifw_wakeup_event_cb_destroy(wakeup_cb_h); - rpc_port_mmifw_key_event_cb_destroy(key_cb_h); - rpc_port_mmifw_gesture_event_cb_destroy(gesture_cb_h); - rpc_port_mmifw_voice_event_cb_destroy(voice_cb_h); - rpc_port_mmifw_action_event_cb_destroy(action_cb_h); - rpc_port_mmifw_feedback_event_cb_destroy(feedback_cb_h); + rpc_port_proxy_mmifw_destroy(_rpc_h); + _rpc_h = NULL; + focus_cb_h = NULL; state_change_cb_h = NULL; wakeup_cb_h = NULL; @@ -702,7 +697,4 @@ mmi_ipc_shutdown(void) voice_cb_h = NULL; action_cb_h = NULL; feedback_cb_h = NULL; - - rpc_port_proxy_mmifw_destroy(_rpc_h); - _rpc_h = NULL; } -- 2.34.1