Commit 599b486b authored by 余玠's avatar 余玠

let setEnableForRunnersBatch do nothing, which may cause the engine deadlock.

parent b422a070
...@@ -121,9 +121,9 @@ ...@@ -121,9 +121,9 @@
- (void)prepareEngineIfNeeded - (void)prepareEngineIfNeeded
{ {
if ([_dummy respondsToSelector:@selector(setEnableForRunnersBatch:)]) { // if ([_dummy respondsToSelector:@selector(setEnableForRunnersBatch:)]) {
[_dummy setEnableForRunnersBatch:YES]; // [_dummy setEnableForRunnersBatch:YES];
} // }
[self detach]; [self detach];
[_dummy surfaceUpdated:YES]; [_dummy surfaceUpdated:YES];
} }
......
...@@ -146,6 +146,10 @@ static NSUInteger kInstanceCounter = 0; ...@@ -146,6 +146,10 @@ static NSUInteger kInstanceCounter = 0;
[FLUTTER_APP.flutterProvider detach]; [FLUTTER_APP.flutterProvider detach];
} }
- (void)setEnableForRunnersBatch:(BOOL)enable{
//dummy function
NSLog(@"[DEBUG]- I did nothing, I am innocent");
}
#pragma mark - Life circle methods #pragma mark - Life circle methods
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment