m[set] Recover set from error in .reset()

This commit is contained in:
Behdad Esfahbod 2020-06-28 21:02:51 -07:00
parent f9d101e747
commit 985329b7c7
1 changed files with 1 additions and 1 deletions

View File

@ -258,8 +258,8 @@ struct hb_set_t
{ {
if (unlikely (hb_object_is_immutable (this))) if (unlikely (hb_object_is_immutable (this)))
return; return;
clear ();
successful = true; successful = true;
clear ();
} }
void clear () void clear ()