From: Jihoon Kim Date: Wed, 8 Jan 2020 07:44:49 +0000 (+0900) Subject: Revert "Fix crash on disconnection of client application" X-Git-Tag: submit/tizen/20200108.054805~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F221905%2F1;p=platform%2Fcore%2Fuifw%2Fautofill-daemon.git Revert "Fix crash on disconnection of client application" This reverts commit 86914360f22cd5b2c9f8ec23158da13eb983c6a7. Change-Id: I5c325c94dd1fac0989ec5886ece564cbb5f503be --- diff --git a/src/autofill-daemon.c b/src/autofill-daemon.c index 8a9d8e3..5187945 100644 --- a/src/autofill-daemon.c +++ b/src/autofill-daemon.c @@ -199,17 +199,6 @@ static void __client_create(rpc_port_stub_AutofillAppPort_context_h context, free(sender); } -static gboolean client_remove_cb(void *data) -{ - rpc_port_stub_AutofillAppPort_context_h context = data; - - LOGD("client remove callback (%p)", context); - - __remove_client(context); - - return false; -} - static void __client_terminate(rpc_port_stub_AutofillAppPort_context_h context, void *user_data) { @@ -223,7 +212,7 @@ static void __client_terminate(rpc_port_stub_AutofillAppPort_context_h context, LOGD("[__RPC_PORT__] sender(%s)", sender); free(sender); - g_idle_add(client_remove_cb, context); + __remove_client(context); } static int __client_register(rpc_port_stub_AutofillAppPort_context_h context,