Fix lazy_loader fini()
Was creating object even if wasn't there.
This commit is contained in:
parent
1f7380944d
commit
f1f4b45ac3
|
@ -609,7 +609,7 @@ struct hb_lazy_loader_t
|
||||||
}
|
}
|
||||||
inline void fini (void)
|
inline void fini (void)
|
||||||
{
|
{
|
||||||
Stored *p = instance.get ();
|
Stored *p = this->instance.get ();
|
||||||
if (p)
|
if (p)
|
||||||
thiz ()->destroy (p);
|
thiz ()->destroy (p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue