crosswalk-project / crosswalk-ios

Crosswalk Project for iOS
https://crosswalk-project.org/
BSD 3-Clause "New" or "Revised" License
117 stars 77 forks source link

Use derived XWalkView instead of WKWebView extension. #45

Closed jondong closed 9 years ago

jondong commented 9 years ago

Because the associated object's deinit time is not as expected, we decide to choose derived XWalkView instead of WKWebView extension. XWalkView will hold the channels and manage the life cycle of them; Channel will weak reference the thread object, and the loadExtension interface won't need to ask user about the threading.

Testcases are upgraded accordingly.