[test/hb-shape-threads] Silence hb_language_get_default() threadysafety issue
This commit is contained in:
parent
4e59900ff5
commit
b010962c3b
|
@ -184,6 +184,10 @@ int main(int argc, char** argv)
|
||||||
if (argc > 2)
|
if (argc > 2)
|
||||||
num_repetitions = atoi (argv[2]);
|
num_repetitions = atoi (argv[2]);
|
||||||
|
|
||||||
|
/* Dummy call to alleviate _guess_segment_properties thread safety-ness
|
||||||
|
* https://github.com/harfbuzz/harfbuzz/issues/1191 */
|
||||||
|
hb_language_get_default ();
|
||||||
|
|
||||||
if (argc > 4)
|
if (argc > 4)
|
||||||
{
|
{
|
||||||
num_tests = (argc - 3) / 2;
|
num_tests = (argc - 3) / 2;
|
||||||
|
|
Loading…
Reference in New Issue