From 53f51683b67ee8321ec35c392a6197371b298e7e Mon Sep 17 00:00:00 2001 From: Sejun Park Date: Fri, 12 Jul 2024 11:35:34 +0900 Subject: [PATCH] Add error handling for issue that occur in a failed state of ducking create Change-Id: I88aa3c3b1ce5f6ffc0b1c2c3bb7a22ba0a4273d2 --- client/vc_mgr.c | 5 ++++- packaging/voice-control.spec | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.34.1