[HOTFIX] Delay main_loop shutdown to avoid deadlock 83/104983/5
authorws29.jung <ws29.jung@samsung.com>
Thu, 15 Dec 2016 05:20:22 +0000 (14:20 +0900)
committerws29.jung <ws29.jung@samsung.com>
Thu, 15 Dec 2016 10:39:41 +0000 (19:39 +0900)
commitfb8a39d98f5cf1e3d7f4e9fdbaa4197b90e20dca
tree4ca305dca12bc964f56fb776d70c0d311f1df762
parentd88b536ed86a1890a669f9616b4d0427a52caf32
[HOTFIX] Delay main_loop shutdown to avoid deadlock

When keyboard switches from Tizen Keyboard to WebApp Keyboard,
keyboard select button enables before WebApp keyboard is completely loaded.
In that time if keyboard switches back to Tizen Keyboard,
deadlock occurs between main_loop and Webview.
To avoid this deadlock, delay main_loop until webview load is finished

BUG: http://suprem.sec.samsung.net/jira/browse/TSAM-11361

Change-Id: I469bea8ff1b3dc3bbb69a37f0fe6114f30b8d855
Signed-off-by: ws29.jung <ws29.jung@samsung.com>
runtime/browser/runtime_process.cc