Uploaded image for project: 'Weex'
  1. Weex
  2. WEEX-93

WXBridgeManager create multiple instances

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.16
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:

      Description

      WXBridgeManager has a private class method sharedManager that only used in [WXBridgeManager jsThread], see https://github.com/apache/incubator-weex/blob/release-0.16/ios/sdk/WeexSDK/Sources/Manager/WXBridgeManager.m#L45.

      But [WXSDKManager bridgeMgr] create its own WXBridgeManager instance, is this designed or just left over from the past? Should [WXSDKManager bridgeMgr] just use [WXBridgeManager sharedManager]

        Attachments

          Activity

            People

            • Assignee:
              cxfeng Adam Feng
              Reporter:
              CYJB Shaojun Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: