Fix wrong exception handling 74/324874/1
authorjusung son <jusung07.son@samsung.com>
Wed, 28 May 2025 05:44:26 +0000 (14:44 +0900)
committerjusung son <jusung07.son@samsung.com>
Wed, 28 May 2025 05:44:26 +0000 (14:44 +0900)
 - Even if proxy has no privilege, it should not be disconnected.

Change-Id: Iab5b925ad8aa1c4e6a693d6b2850fd0617b670c5
Signed-off-by: jusung son <jusung07.son@samsung.com>
idlc/gen/version2/c_stub_body_generator_cb.hh

index 66039fe68fbb90c1dac4ddcd4e369fba52d02d03..ecdb1c86260ae2725f6755ebcb4ffc870250f548 100644 (file)
@@ -1448,6 +1448,9 @@ static int __<PREFIX>_<NAME>_received_event_cb(const char *sender, const char *i
   rpc_port_parcel_destroy(parcel);
 #endif /* TIDL_THREAD_ENABLE */
 
+  if (ret == RPC_PORT_ERROR_PERMISSION_DENIED)
+    return RPC_PORT_ERROR_NONE;
+
   return ret;
 }