Github user acton393 commented on the issue:

    https://github.com/apache/incubator-weex/pull/1072
  
    hi @xuyouyang  thank you for your contribution, sure that's a bug, you are 
very careful. and we can change the variable type in WXUtility.m or change the 
type during its creation to fix it.
    
    I found that `fontFamilyDic` is a second dictionary which is a object in 
`fontStorage` which is also `WXThreadSafeDictionary` and its key is 
'fontFamily', I'm concerning about that if we change the `fontFamilyDic` type 
to `WXThreadSafeDictionary`, there can be a deadlock as 
`WXThreadSafeDictionary` using lock to ensure its thread-safe.
    
    
    so I think we can fix it by changing type in `WXUtility.m`.



---

Reply via email to