fix build not call when debugging
This commit is contained in:
parent
b97d2f0d94
commit
6080717940
@ -125,14 +125,16 @@ - (void)onEnterDebugEvent {
|
||||
- (void)onStopDebugEvent {
|
||||
_context.driver = [DoricNativeDriver instance];
|
||||
_context.rootNode.viewId = nil;
|
||||
[_context callEntity:DORIC_ENTITY_INIT, _context.initialParams, nil];
|
||||
[_context callEntity:DORIC_ENTITY_INIT, _context.extra, nil];
|
||||
[_context callEntity:DORIC_ENTITY_CREATE, nil];
|
||||
[_context callEntity:DORIC_ENTITY_BUILD withArgumentsArray:@[_context.initialParams]];
|
||||
}
|
||||
|
||||
- (void)onDebuggerReadyEvent {
|
||||
_context.driver = _driver;
|
||||
_context.rootNode.viewId = nil;
|
||||
[_context callEntity:DORIC_ENTITY_INIT, _context.initialParams, nil];
|
||||
[_context callEntity:DORIC_ENTITY_INIT, _context.extra, nil];
|
||||
[_context callEntity:DORIC_ENTITY_CREATE, nil];
|
||||
[_context callEntity:DORIC_ENTITY_BUILD withArgumentsArray:@[_context.initialParams]];
|
||||
}
|
||||
@end
|
||||
|
Reference in New Issue
Block a user