Fix assertion failure
https://bugzilla.mozilla.org/show_bug.cgi?id=1476334
This commit is contained in:
parent
e49a38b20e
commit
883957688c
|
@ -639,7 +639,8 @@ struct hb_lazy_loader_t
|
|||
|
||||
inline void set_stored (Stored *instance_)
|
||||
{
|
||||
assert (instance == nullptr);
|
||||
if (instance)
|
||||
thiz ()->destroy (instance);
|
||||
instance = instance_;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue