projects
/
platform
/
framework
/
web
/
nwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d284d1
)
Fix ClearViewStack deleting bug
author
Seungkeun Lee
<sngn.lee@samsung.com>
Mon, 13 Apr 2015 10:21:33 +0000
(19:21 +0900)
committer
Seungkeun Lee
<sngn.lee@samsung.com>
Mon, 13 Apr 2015 10:21:33 +0000
(19:21 +0900)
Change-Id: I0693101f17be43fe207d54e9db97f7c44ff0e160
src/runtime/web_application.cc
patch
|
blob
|
history
diff --git
a/src/runtime/web_application.cc
b/src/runtime/web_application.cc
index
65c832d
..
0e14c7f
100755
(executable)
--- a/
src/runtime/web_application.cc
+++ b/
src/runtime/web_application.cc
@@
-155,7
+155,7
@@
void WebApplication::SendAppControlEvent() {
void WebApplication::ClearViewStack() {
window_->SetContent(NULL);
auto it = view_stack_.begin();
-
while (it != view_stack_.end()
) {
+
for ( ; it != view_stack_.end(); ++it
) {
(*it)->Suspend();
delete *it;
}