[
https://issues.apache.org/jira/browse/WEEX-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400063#comment-16400063
]
ASF GitHub Bot commented on WEEX-249:
-------------------------------------
Github user xuyouyang commented on the issue:
https://github.com/apache/incubator-weex/pull/1072
hi @acton393 if we change fontFamilyDic type to NSMutableDictionary,will it
also cause multi-thread problem?
For example, other thread operate object in fontFamilyDic.
And I have a doubt that why WXThreadSafeDictionary can be a deadlock? It
created in different queue and different lock.
> [iOS]fix WXRuleManager multi-thread crash
> -----------------------------------------
>
> Key: WEEX-249
> URL: https://issues.apache.org/jira/browse/WEEX-249
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Reporter: XuYouyang
> Assignee: Adam Feng
> Priority: Major
> Attachments: WX20180315-114430.png, WX20180315-114554.png,
> WX20180315-114848.png
>
>
> fontFamilyDic type is WXThreadSafeMutableDictionary in WXUtility.m but the
> real type is NSMutableDictionary created in WXRuleManager.m.
> It may cause crash in multi-thread.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)