YorkShen commented on a change in pull request #2830: [Android] Fix Android
Crash in PostTaskToMsgLoop
URL: https://github.com/apache/incubator-weex/pull/2830#discussion_r314252000
##########
File path: android/sdk/src/main/java/com/taobao/weex/bridge/RequestHandler.java
##########
@@ -124,7 +129,12 @@ public void onSuccess(WXResponse response) {
null
);
}
- nativeInvokeOnSuccess(sNativeCallback, script, bundleTypeStr);
+ WXBridgeManager.getInstance().post(new Runnable() {
+ @Override
+ public void run() {
+ nativeInvokeOnSuccess(sNativeCallback, script, bundleTypeStr);
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services