[repacker] when clearing links in MarkArray, also clear parents of the children.
This commit is contained in:
parent
8c3db8bdfd
commit
36c76c27c6
|
@ -126,6 +126,8 @@ struct MarkArray : public OT::Layout::GPOS_impl::MarkArray
|
|||
unsigned new_class_count)
|
||||
{
|
||||
auto& o = c.graph.vertices_[this_index].obj;
|
||||
for (const auto& link : o.real_links)
|
||||
c.graph.vertices_[link.objidx].remove_parent (this_index);
|
||||
o.real_links.reset ();
|
||||
|
||||
unsigned new_index = 0;
|
||||
|
|
Loading…
Reference in New Issue