[WEEX-134][android] createInstance and initFramework may on different Thread, add volatile static for mInit
Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/b0704cd1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/b0704cd1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/b0704cd1 Branch: refs/heads/master Commit: b0704cd110accf8ccd3802445a0898a87e84f1a1 Parents: 28d0475 713c619 Author: gurisxie <279483...@qq.com> Authored: Mon Nov 20 10:44:20 2017 +0800 Committer: gurisxie <279483...@qq.com> Committed: Mon Nov 20 10:45:15 2017 +0800 ---------------------------------------------------------------------- .../com/taobao/weex/bridge/WXBridgeManager.java | 34 ++++++++++++-------- 1 file changed, 21 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/b0704cd1/android/sdk/src/main/java/com/taobao/weex/bridge/WXBridgeManager.java ----------------------------------------------------------------------