fix build not call when debugging

This commit is contained in:
王劲鹏 2020-05-18 17:03:05 +08:00 committed by osborn
parent a875895e7e
commit b97d2f0d94

View File

@ -22,8 +22,9 @@ public class DoricContextDebuggable {
doricContext.setDriver(doricDebugDriver); doricContext.setDriver(doricDebugDriver);
doricContext.getRootNode().setId(""); doricContext.getRootNode().setId("");
doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getInitParams(), doricContext.getExtra()); doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getExtra());
doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE); doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE);
doricContext.callEntity(DoricConstant.DORIC_ENTITY_BUILD, doricContext.getInitParams());
} }
}); });
} }
@ -34,8 +35,9 @@ public class DoricContextDebuggable {
doricContext.setDriver(DoricNativeDriver.getInstance()); doricContext.setDriver(DoricNativeDriver.getInstance());
doricContext.getRootNode().setId(""); doricContext.getRootNode().setId("");
doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getInitParams(), doricContext.getExtra()); doricContext.callEntity(DoricConstant.DORIC_ENTITY_INIT, doricContext.getExtra());
doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE); doricContext.callEntity(DoricConstant.DORIC_ENTITY_CREATE);
doricContext.callEntity(DoricConstant.DORIC_ENTITY_BUILD, doricContext.getInitParams());
} }
public DoricContext getContext() { public DoricContext getContext() {