GitHub user yuhun-alibaba opened a pull request:
https://github.com/apache/incubator-weex/pull/881
createInstance and initFramework may on different Thread, add volatiâ¦
createInstance and initFramework may on different Thread, on order to get
right value, use volatile static boolean mInit
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yuhun-alibaba/incubator-weex
bug_fix_multiThread
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-weex/pull/881.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #881
commit 4607aa4c21de3e1f5ee22fc1be94101d45f12545
Author: yuhun-alibaba
Date: 2017-11-16T16:16:02Z
createInstance and initFramework may on different Thread, add volatile
static for mInit
---