mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[ft] See if I can make tsan happy
This commit is contained in:
parent
a83faa061c
commit
6ae7ef0659
1 changed files with 2 additions and 0 deletions
|
@ -213,9 +213,11 @@ _hb_ft_hb_font_check_changed (hb_font_t *font,
|
|||
{
|
||||
if (font->serial != ft_font->cached_serial)
|
||||
{
|
||||
ft_font->lock.lock ();
|
||||
_hb_ft_hb_font_changed (font, ft_font->ft_face);
|
||||
ft_font->advance_cache.clear ();
|
||||
ft_font->cached_serial = font->serial;
|
||||
ft_font->lock.unlock ();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue