Fixed the crash when the app is terminated through h/w back-key 23/104323/1
authorYoungcheol Kang <ychul.kang@samsung.com>
Tue, 13 Dec 2016 05:54:50 +0000 (14:54 +0900)
committerYoungcheol Kang <ychul.kang@samsung.com>
Tue, 13 Dec 2016 05:54:50 +0000 (14:54 +0900)
commit48e7dbd1d24d577257e7de7332ed1c46a824a9c0
treee1db6f86f3004e66aba8168489e2a454f37958df
parent6f50045775243e4564a535bed2e6e0c3ccc4ebd7
Fixed the crash when the app is terminated through h/w back-key

The crash happens due to the callback which occur after destroying
WebApplication class. this patch adds the codes to prevent this
crash issue by checking the EventListener of WebView class.

Bug: http://suprem.sec.samsung.net/jira/browse/TSAM-11504

Change-Id: Ie27666ee604bf375bfc34a43e5e8f24eda758a22
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_view_impl.cc