Commit b422a070 authored by ColdPaleLight's avatar ColdPaleLight

fix issue about main thread always waiting

parent 236e9de5
......@@ -121,6 +121,9 @@
- (void)prepareEngineIfNeeded
{
if ([_dummy respondsToSelector:@selector(setEnableForRunnersBatch:)]) {
[_dummy setEnableForRunnersBatch:YES];
}
[self detach];
[_dummy surfaceUpdated:YES];
}
......
......@@ -29,5 +29,6 @@
NS_ASSUME_NONNULL_BEGIN
@interface FLB2FlutterViewContainer : FlutterViewController<FLBFlutterContainer>
- (void)surfaceUpdated:(BOOL)appeared;
- (void)setEnableForRunnersBatch:(BOOL)enable;
@end
NS_ASSUME_NONNULL_END
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