projects
/
platform
/
core
/
api
/
inputmethod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd632f5
)
Catch the exception
90/114990/1
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 16 Feb 2017 04:30:28 +0000
(13:30 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Thu, 16 Feb 2017 04:30:28 +0000
(13:30 +0900)
Change-Id: If83bb9dee374877cc7d9e201c3c00d3bd4c747f6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/inputmethod.cpp
patch
|
blob
|
history
diff --git
a/src/inputmethod.cpp
b/src/inputmethod.cpp
index
3de158a
..
cff72c2
100644
(file)
--- a/
src/inputmethod.cpp
+++ b/
src/inputmethod.cpp
@@
-503,7
+503,11
@@
int ime_run(ime_callback_s *basic_cb, void *user_data)
g_user_data = user_data;
g_running = true;
- g_core.run();
+ try {
+ g_core.run();
+ } catch (...) {
+ LOGW("exception is thrown from g_core.run()\n");
+ }
memset(&g_basic_callback, 0, sizeof(ime_callback_s));
memset(&g_event_callback, 0, sizeof(ime_event_callback_s));