[subset] avoid calling clear on null pool set.

This commit is contained in:
Garret Rieger 2021-03-29 17:23:33 -07:00 committed by Behdad Esfahbod
parent 9ed5f04a70
commit 752e393ad2
2 changed files with 2 additions and 1 deletions

View File

@ -116,6 +116,7 @@ struct hb_closure_context_t :
}
}
if (done_lookups_glyph_set->get (lookup_index)->get_population ())
done_lookups_glyph_set->get (lookup_index)->clear ();
}