debugger send back to switch js engine

This commit is contained in:
王劲鹏
2019-11-13 15:29:56 +08:00
parent 98ae5a9d0e
commit 9d641e2602
4 changed files with 52 additions and 37 deletions

View File

@@ -81,7 +81,7 @@ public class DoricDriver implements IDoricDriver {
return AsyncCall.ensureRunInHandler(mUIHandler, callable);
case INDEPENDENT:
default:
return AsyncCall.ensureRunIExecutor(mBridgeExecutor, callable);
return AsyncCall.ensureRunInExecutor(mBridgeExecutor, callable);
}
}

View File

@@ -51,7 +51,7 @@ public class AsyncCall {
return asyncResult;
}
public static <T> AsyncResult<T> ensureRunIExecutor(ExecutorService executorService, final Callable<T> callable) {
public static <T> AsyncResult<T> ensureRunInExecutor(ExecutorService executorService, final Callable<T> callable) {
final AsyncResult<T> asyncResult = new AsyncResult<>();
executorService.execute(new Runnable() {
@Override