From: Sejun Park Date: Fri, 12 Jul 2024 02:35:34 +0000 (+0900) Subject: Add error handling for issue that occur in a failed state of ducking create X-Git-Tag: accepted/tizen/unified/20241004.041831~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=53f51683b67ee8321ec35c392a6197371b298e7e;p=platform%2Fcore%2Fuifw%2Fvoice-control.git Add error handling for issue that occur in a failed state of ducking create Change-Id: I88aa3c3b1ce5f6ffc0b1c2c3bb7a22ba0a4273d2 --- diff --git a/client/vc_mgr.c b/client/vc_mgr.c index c0e5305..862eb27 100644 --- a/client/vc_mgr.c +++ b/client/vc_mgr.c @@ -313,7 +313,10 @@ int vc_mgr_initialize(void) ret = vc_mgr_ducking_create(); if (VC_ERROR_NONE != ret) { - SLOG(LOG_INFO, TAG_VCM, "[INFO] Fail to ducking create : %d", ret); + SLOG(LOG_ERROR, TAG_VCM, "[INFO] Fail to ducking create : %d", ret); + vc_config_mgr_finalize(g_pid + VC_MANAGER_CONFIG_HANDLE); + vc_mgr_client_destroy(); + return ret; } SLOG(LOG_ERROR, TAG_VCM, "[Success] pid(%d)", g_pid); diff --git a/packaging/voice-control.spec b/packaging/voice-control.spec index 8ae0cf5..ba68566 100644 --- a/packaging/voice-control.spec +++ b/packaging/voice-control.spec @@ -1,6 +1,6 @@ Name: voice-control Summary: Voice control client library and daemon -Version: 1.90.2 +Version: 1.90.3 Release: 1 Group: Graphics & UI Framework/Voice Framework License: Apache-2.0