projects
/
platform
/
core
/
appfw
/
watchface-complication.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f34e737
)
Handling uncaught exception
64/188264/1
author
hyunho
<hhstark.kang@samsung.com>
Mon, 3 Sep 2018 10:41:25 +0000
(19:41 +0900)
committer
hyunho
<hhstark.kang@samsung.com>
Mon, 3 Sep 2018 10:41:25 +0000
(19:41 +0900)
Change-Id: I14af7892c464a679d485f3fe53c6e09e934a5cc2
Signed-off-by: hyunho <hhstark.kang@samsung.com>
watchface-complication/complication.cc
patch
|
blob
|
history
diff --git
a/watchface-complication/complication.cc
b/watchface-complication/complication.cc
index
e37240c
..
681d1f3
100644
(file)
--- a/
watchface-complication/complication.cc
+++ b/
watchface-complication/complication.cc
@@
-50,7
+50,11
@@
Complication::Complication(int id, int supported_types, int supported_event_type
}
Complication::~Complication() {
- ComplicationConnector::GetInst().RemovePackageEventListener(impl_.get());
+ try {
+ ComplicationConnector::GetInst().RemovePackageEventListener(impl_.get());
+ } catch (Exception &ex) {
+ LOGE("%s %d", ex.what(), ex.GetErrorCode());
+ }
}
Complication::Impl::Impl(Complication* parent, int id,