projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4213401
)
Fixed the crash when the app is terminated
author
JongHeon Choi
<j-h.choi@samsung.com>
Wed, 16 Mar 2016 04:24:02 +0000
(13:24 +0900)
committer
JongHeon Choi
<j-h.choi@samsung.com>
Wed, 16 Mar 2016 04:24:02 +0000
(13:24 +0900)
runtime/browser/web_application.cc
patch
|
blob
|
history
diff --git
a/runtime/browser/web_application.cc
b/runtime/browser/web_application.cc
index
cae57b1
..
e9b211d
100755
(executable)
--- a/
runtime/browser/web_application.cc
+++ b/
runtime/browser/web_application.cc
@@
-227,6
+227,13
@@
WebApplication::WebApplication(
WebApplication::~WebApplication() {
if (ewk_context_) ewk_context_delete(ewk_context_);
+
+ window_->SetContent(NULL);
+ auto it = view_stack_.begin();
+ for (; it != view_stack_.end(); ++it) {
+ delete *it;
+ }
+ view_stack_.clear();
}
bool WebApplication::Initialize() {