diff --git a/src/hb-wasm-shape.cc b/src/hb-wasm-shape.cc index 66d301772..5ad1b483a 100644 --- a/src/hb-wasm-shape.cc +++ b/src/hb-wasm-shape.cc @@ -55,6 +55,8 @@ struct hb_wasm_face_data_t { static bool _hb_wasm_init () { + /* XXX Umm. Make this threadsafe. How?! */ + static bool initialized; if (initialized) return true;