Skip to content

Commit

Permalink
[iOS] update js framework
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhan-he committed Dec 11, 2018
1 parent d8c4ad9 commit 3d7b4af
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pre-build/weex-main-jsfm.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions weex_core/Source/core/data_render/vnode/vnode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ VNode::~VNode() {
delete events_;
events_ = nullptr;
}
for (auto it = child_list_.begin(); it != child_list_.end(); it++) {
VNode *&reference = *it;
if (reference != nullptr) {
delete reference;
*it = nullptr;
}
}
// for (auto it = child_list_.begin(); it != child_list_.end(); it++) {
// VNode *&reference = *it;
// if (reference != nullptr) {
// delete reference;
// *it = nullptr;
// }
// }
}

void VNode::OnEvent(const std::string &event, const std::string args,
Expand Down

0 comments on commit 3d7b4af

Please sign in to comment.