debugger send back to switch js engine
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user