projects
/
platform
/
core
/
appfw
/
tidl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5450273
)
Modify exception handling of C Generator
84/182784/4
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 28 Jun 2018 04:57:52 +0000
(13:57 +0900)
committer
Junghoon Park
<jh9216.park@samsung.com>
Thu, 28 Jun 2018 06:11:51 +0000
(06:11 +0000)
If creating parcel from port is failed, the stub app releases
the proxy context.
Change-Id: Id14bfbbe1011b245da63cb73db8b23862bc7fbc9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/c_gen/c_stub_body_gen_cb.h
patch
|
blob
|
history
diff --git
a/idlc/c_gen/c_stub_body_gen_cb.h
b/idlc/c_gen/c_stub_body_gen_cb.h
index
0316e9a
..
1b766a8
100644
(file)
--- a/
idlc/c_gen/c_stub_body_gen_cb.h
+++ b/
idlc/c_gen/c_stub_body_gen_cb.h
@@
-97,7
+97,8
@@
static int __##_on_received(const char *sender, const char *instance, rpc_port_h
context->port = port;
r = rpc_port_parcel_create_from_port(&parcel, port);
if (r != 0) {
- _E("Failed to create parcel from port");
+ _E("Failed to create parcel from port. context(%s)", instance);
+ __##_on_disconnected(sender, instance, data);
return r;
}