提交 88395768 编写于 作者: B Behdad Esfahbod
上级 e49a38b2
......@@ -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_;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册