Commit 55b0aaf8 authored by Jidong Chen's avatar Jidong Chen

fix crash for boost2

parent fc0c461b
......@@ -25,6 +25,7 @@
#import "FLB2FlutterApplication.h"
#import "FlutterBoost.h"
#import "FLBFlutterContainerManager.h"
#import "FLB2FlutterEngine.h"
@interface FLB2FlutterApplication()
@property (nonatomic,strong) FLBFlutterContainerManager *manager;
......@@ -62,7 +63,7 @@
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
self.platform = platform;
self.viewProvider;
self.viewProvider = FLB2FlutterEngine.new;
self.isRunning = YES;
if(callback) callback(self.viewProvider.engine);
});
......
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