Skip to content

Commit

Permalink
Fixed typo, we already cleared domRoot_
Browse files Browse the repository at this point in the history
We need to clear domRoot2_ instead!
  • Loading branch information
RockinRoel committed Jul 23, 2020
1 parent 9d6392d commit efc73ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wt/WApplication.C
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ WApplication::~WApplication()
removeChild(child);
}
if (domRoot2_) {
auto domRoot = domRoot_.get();
auto domRoot = domRoot2_.get();
for (WWidget *child : domRoot->children())
removeChild(child);
}
Expand Down

0 comments on commit efc73ee

Please sign in to comment.